On Thu, 31 Mar 2016, Mattias Gaertner wrote:
On Thu, 31 Mar 2016 13:52:54 +0200
Jonas Maebe <jonas.ma...@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('Привет');
Careful, writing may change the codepage.
See
http://mantis.freepascal.org/view.php?id=29935
and the hint therein:
http://www.freepascal.org/docs-html/rtl/system/settextcodepage.html
Michael.
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal