> > 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 _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal