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

tobiasgiesen at gmail.com tobiasgiesen at gmail.com
Wed Apr 6 15:05:02 CEST 2016


Hello,

Jonas wrote:
> If you get ASCII, it means that one of the LC_ALL, LC_CTYPE and/or LANG environment variables is set to 
> a setting that corresponds to ASCII (such as "C"), or set to a value that is not recognised as or translatable into 
> a Windows code page number.

That was it - only when running under Lazarus via debugger, my project has LANG=C.

I wonder where LANG=C comes from?

Note that it is a very old project. A newly created project file does not have  LANG=C in the
environment.

Cheers,
Tobias





More information about the fpc-pascal mailing list