On 13 jun 2007, at 13:33, Felipe Monteiro de Carvalho wrote:

changing on my program from strint to utf8string didn't make any
difference. The string is ok when I don't have BOM and is wrong with a
BOM

I've in the mean time discovered that nl_langinfo always returns US- ASCII (or an empty string) under Darwin, regardless of what your LANG/ LC_* settings are. Forcing it to utf-8 fixes some problems, but there is another error in the generic code for writing a widestring. I'm fixing that currently.


Jonas
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to