[fpc-pascal] FPC 3: disabling automatic AnsiString codepage conversionx
Mattias Gaertner
nc-gaertnma at netcologne.de
Wed Apr 6 15:37:37 CEST 2016
On Wed, 06 Apr 2016 15:05:02 +0200
tobiasgiesen at gmail.com wrote:
> 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?
Check Run / Run Parameters / Environment.
> Note that it is a very old project. A newly created project file does not have LANG=C in the
> environment.
Mattias
More information about the fpc-pascal
mailing list