[Lazarus] TProcess, UTF8, Windows
Jürgen Hestermann
juergen.hestermann at gmx.de
Fri Apr 13 17:39:43 CEST 2012
Hans-Peter Diettrich schrieb:
> The Delphi Unicode solution: set the proper encoding in TFileStream (?
> or TStringList), then the file is converted into UTF-16 on read, and
> back again when written to disk. Then the coder has to deal only with
> UnicodeStrings, and with AnsiStrings of codepage CP_ACP (system
> default) if ever required.
>
At least I was *not* talking about reading text files.
I was talking about strings as parameters to functions (like FindFirst
etc.).
More information about the Lazarus
mailing list