[fpc-pascal] Funny things about utf-8 strings on mac

Florian Klaempfl florian at freepascal.org
Wed Jun 13 14:38:02 CEST 2007


Jonas Maebe schrieb:
> 
> On 13 jun 2007, at 14:21, Florian Klaempfl wrote:
> 
>> If MacOSX uses always utf-8 for 8 bit strings, you can hardcode it of
>> course in cwstrings and don't use iconv.
> 
> Well, it's a bit more complicated than that, see
> http://cvs.gnupg.org/cgi-bin/viewcvs.cgi/trunk/intl/config.charset?rev=4343
> 
> (search for "Darwin 7.5")
> 
> But I'm indeed going to force utf-8, though still using iconv (I don't
> feel like implementing the translation manually).

widestring to utf-8 can be done by the system unit?



More information about the fpc-pascal mailing list