[fpc-pascal] Default source encoding

Mattias Gaertner nc-gaertnma at netcologne.de
Thu Mar 31 14:12:04 CEST 2016


On Thu, 31 Mar 2016 13:52:54 +0200
Jonas Maebe <jonas.maebe at elis.ugent.be> wrote:

> On 31/03/16 13:46, Mattias Gaertner wrote:
> 
> > According to
> > http://wiki.freepascal.org/index.php?title=FPC_Unicode_support#String_constants
> >
> > "the constant strings are assumed to have code page 28591 (ISO 8859-1
> > Latin 1; Western European)."
> >
> > Is this true?
> 
> Yes.

What happens on a Russian system cp1251 with a cp1251 AnsiString
literal?

writeln('Привет');

Mattias



More information about the fpc-pascal mailing list