[fpc-pascal] Funny things about utf-8 strings on mac
daniel.mantione at freepascal.org
Wed Jun 13 14:43:00 CEST 2007
Op Wed, 13 Jun 2007, schreef Florian Klaempfl:
> 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?
Yes, but widestring comparisons cannot, so a utf-8 only widestring manager
would still be a huge job.
More information about the fpc-pascal