[fpc-pascal] FPC 3: disabling automatic AnsiString codepage conversionx
tobiasgiesen at gmail.com
tobiasgiesen at gmail.com
Mon Apr 4 13:58:06 CEST 2016
> > Terminal has LC_CTYPE=UTF-8.
>
> What about LC_ALL?
My Mac OS installations do not have LC_ALL.
But I just noticed that Carbon GUI programs do not get LC_CTYPE in their
environment either.
So maybe cwstring needs to be fixed for Carbon GUI Mac OS X programs.
What I see in the environment is
__CF_USER_TEXT_ENCODING=0x1F5:0x0:0x0
I think Carbon apps should override DefaultSytemCodePage, because the
Carbon interfaces always use UTF-8, they do not care about any
environment strings.
Cheers,
Tobias
More information about the fpc-pascal
mailing list