[fpc-pascal] FPC 3 regression: cannot use TStringList for UTF-8 data any more?

Michael Schnell mschnell at lumino.de
Mon Apr 18 12:19:28 CEST 2016


On 04/16/2016 11:02 AM, Mattias Gaertner wrote:
> For instance using {$codepage utf8} tells the compiler to convert all 
> your literals to UTF-16. Without the {$codepage} the compiler 
> preserves the real codepage.
I.e. (compiling in a UTF-8 based Linux)

  - using {$codepage utf8} tells the compiler to convert all your 
literals to UTF-16
  - not using {$codepage utf8} tells the compiler to convert all your 
literals to UTF-8

The compiler is making fun of me ... :-)

-Michael



More information about the fpc-pascal mailing list