[fpc-pascal] Default source encoding

Jonas Maebe jonas.maebe at elis.ugent.be
Thu Mar 31 13:52:54 CEST 2016


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.

> Or is the compiler using the system codepage?

The compiler uses the system code page if {$modeswitch systemcodepage} 
is active, which is only enabled by default in {$mode delphiunicode}.


Jonas



More information about the fpc-pascal mailing list