[Lazarus] TProcess, UTF8, Windows

waldo kitty wkitty42 at windstream.net
Tue Apr 17 03:56:54 CEST 2012


On 4/13/2012 12:18, Hans-Peter Diettrich wrote:
> Jürgen Hestermann schrieb:
>> IMO it must be possible to predict the encoding of strings
>> when writing the code (without running the program).
>
> 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.

and for those, like myself, who never have seen delphi?? don't care about delphi 
because it seem(s|ed) to be a bastardization of the pascal language?? i don't 
even have a delphi book and cannot find one that comes close enough to lazarus 
to be of any benefit :(




More information about the Lazarus mailing list