[fpc-pascal] Console Encoding in Windows (Local VS. UTF8)

Mattias Gaertner nc-gaertnma at netcologne.de
Mon Jul 29 12:12:12 CEST 2013


On Mon, 29 Jul 2013 12:00:34 +0200
Michael Schnell <mschnell at lumino.de> wrote:

>[...]
> > To address your specific points:
> > 1.Lazarus User API already supports UTF8 so far as I know.

Yes, since many years.

> I suppose this is bound to change once fpc has completed the move to 
> "new Delphi Strings".

fpc is not "moving" to Delphi strings. That would break all
compatibility. It will support both.


> > 2. TStringList could easily support both, but as long as the 
> > conversion to/from other code pages (especially UTF8) is automatic, I 
> > wouldn't mind.

Note: TStringList can be used with UTF8 except for the LoadFromFile and
SaveToFile functions.


>[...]

Mattias



More information about the fpc-pascal mailing list