[fpc-pascal] FPC 3: disabling automatic AnsiString codepage conversionx

Mattias Gaertner nc-gaertnma at netcologne.de
Mon Apr 4 12:45:41 CEST 2016


On Mon, 4 Apr 2016 11:34:18 +0100
Graeme Geldenhuys <mailinglists at geldenhuys.co.uk> wrote:

> On 2016-04-04 11:23, tobiasgiesen at gmail.com wrote:
> > On Mac, not even cwstring does that. It sets the DefaultSystemCodePage
> > to 20127.
> 
> I just installed FPC 3.0 on my Macbook Pro (bought in the UK) and did
> the same test. Here DefaultSystemCodePage returned 65001. So I guess it
> depends on your OSX installation and which default locale settings was
> set up during install.

All my Macs since 10.4 had UTF-8 as default and I can't remember a
setting during install to change it.

How did you get a codepage 20127 Mac?


Mattias



More information about the fpc-pascal mailing list