2009/10/2 <[email protected]>: > 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. In the mean time, you will have to define your own locale constants with correct type sizes and manually do formatting. A pain in the butt, I know. -- Regards, - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/ _______________________________________________ fpc-devel maillist - [email protected] http://lists.freepascal.org/mailman/listinfo/fpc-devel
