[fpc-pascal] Default source encoding
Mattias Gaertner
nc-gaertnma at netcologne.de
Thu Mar 31 15:10:53 CEST 2016
On Thu, 31 Mar 2016 14:38:35 +0200
Jonas Maebe <jonas.maebe at elis.ugent.be> wrote:
>[...]
> There are two separate things:
> a) the code page that the compiler uses *if* it has to convert a string
> at compile time to a different code page (e.g. because you assign the
> string constant to an ansistring(1251), or to a unicodestring)
> b) whether or not it will in fact convert a string at compile time to a
> different code page
>[...]
Thanks for the explanation.
So maybe the
"If the source file codepage is CP_ACP, a default is used
instead: ...code page 28591"
should be changed to something like this:
"If the source file codepage is CP_ACP and the compiler has to convert a string at compile time to a different code page (e.g. because you assign the string constant to an ansistring(1251), or to a unicodestring), a default is used instead: ...code page 28591"
Mattias
More information about the fpc-pascal
mailing list