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

Graeme Geldenhuys mailinglists at geldenhuys.co.uk
Mon Apr 4 12:04:04 CEST 2016


On 2016-04-04 10:39, tobiasgiesen at gmail.com wrote:
> It says "On Linux and Mac OS X UTF-8 is typically the system codepage, so the RTL uses 
> here by default CP_UTF8."
> 
> Not on my Mac. DefaultSystemCodePage is 20127 before I set it to 65001.

Indeed, and on my FreeBSD system DefaultSystemCodePage returns 0.

So the "typically" seems more like "unlikely in most cases".

Regards,
  - Graeme -




More information about the fpc-pascal mailing list