[fpc-devel] ThousandSeparator and UTF-8

Florian Klaempfl florian at freepascal.org
Fri Oct 2 17:25:24 CEST 2009


Graeme Geldenhuys schrieb:
> 2009/10/2  <petr.kristan at epos.cz>:
>> On Linux and cs_CZ.UTF-8 locale is thousand separator set to
>> NO-BREAK SPACE (UTF-8: 0xC2 0xA0).
>>
>> But ThousandSeparator variable is defined as Char. Fpc sets
>> ThousandSeparator=0xA0 and kylix ThousandSeparator=0xC2.
>>
>> Any ideas how to correctly solve it?
> 
> 
> This is a know problem reported by me some months ago. Unfortunately
> there is no fix in FPC until it full supports unicode with a char > 1
> byte.

Either we define it as wide- or UTF32Char which should fit most needs or
we just use a string.



More information about the fpc-devel mailing list