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

Jonas Maebe jonas.maebe at elis.ugent.be
Tue Jun 12 20:48:44 CEST 2007


On 12 Jun 2007, at 20:40, Florian Klaempfl wrote:

>> There's utf8encode/decode, but it's quite annoying if you have to
>> replace all widestring->ansistring assignments and parameter passing
>> code with that call (especially since the type conversion from
>> widestring to ansistring is supposed to do everything for you  
>> anyway).
>
> You should simply leave away the codepage stuff then.

And the BOM... Still, I think it's strange that there is no  
widestring manager routine to change the output codepage.


Jonas



More information about the fpc-pascal mailing list