[Lazarus] Lazarus (UTF8) and Windows: SysToUTF8, UTF8ToSys... Is there a better solution?

Marcos Douglas md at delfire.net
Sun Dec 15 16:26:37 CET 2013


On Sun, Dec 15, 2013 at 8:56 AM, Marco van de Voort <marcov at stack.nl> wrote:
> On Sun, Dec 15, 2013 at 05:01:35AM +0100, Hans-Peter Diettrich wrote:
>> > I have many systems coded in FPC+Lazarus only to run on Windows so I ask you:
>> > Is there some trick to make the FPC+Lazarus to use only ANSI?
>>
>> Why that? Lazarus is using UTF-8 throughout, so that writing and reading
>> files will work the same on all targets.
>
> The Tstringlist.save* routines that Marcos mentions are FPC.

Yes.

I know you use Delphi too and, of course, Windows.
Could you tell me how you work with this problem?

Thanks,
Marcos Douglas




More information about the Lazarus mailing list