[Lazarus] TProcess, UTF8, Windows

Marco van de Voort marcov at stack.nl
Sun Apr 15 00:53:45 CEST 2012


On Fri, Apr 13, 2012 at 01:58:14PM -0300, Marcos Douglas wrote:
> > As long as you *know* about each encoding you can manage it. But if you have
> > to guess the encoding then it will fail in general.
> 
> The major problem is work with FPC (Ansi), LCL (UTF8) and Console on
> Windows (UTF16)!

FPC Console and (base) Windows API is currently specified as ansi in FPC. (the
ansi versions are the default type).

Only newer units that don't have ansi equivalents anymore are mandatory
2-byte.





More information about the Lazarus mailing list