[fpc-devel] Russian locale information not compatible with FPC locale variables
Daniël Mantione
daniel.mantione at freepascal.org
Tue Jul 29 10:34:52 CEST 2008
Op Tue, 29 Jul 2008, schreef Graeme Geldenhuys:
> On Tue, Jul 29, 2008 at 10:16 AM, Daniël Mantione
> <daniel.mantione at freepascal.org> wrote:
>> As a workaround, it can be converted into a normal breaking space. There is
>> no proper solution, MBCS requires it to be a string rather than a char, but
>> compatibility requires it to be a char. Which means you are limited to SBCS
>> compatible thousand separators.
>
> This is what the Russian user had to revert to, using a normal $20
> (space) character. But seeing that Delphi is now going to be fully
> Unicode compliant, surely we need to attend to these issues as well in
> FPC - being fully Unicode compliant.
Delphi will do char=widechar, which will solve this. It is likely FPC will
follow, but that doesn't change anything for the situation which is that
we have a sysutils unit that has not been designed for UTF-8 usage.
Daniël
More information about the fpc-devel
mailing list