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

Jonas Maebe jonas.maebe at elis.ugent.be
Wed Apr 6 15:25:32 CEST 2016


tobiasgiesen wrote on Wed, 06 Apr 2016:

> 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.

Then it's probably from the info.plist of that old project.


Jonas



More information about the fpc-pascal mailing list