[fpc-devel] Russian locale information not compatible with FPC locale variables
Daniël Mantione
daniel.mantione at freepascal.org
Tue Jul 29 11:23:24 CEST 2008
Op Tue, 29 Jul 2008, schreef Graeme Geldenhuys:
> On Tue, Jul 29, 2008 at 10:45 AM, Daniël Mantione
> <daniel.mantione at freepascal.org> wrote:
>> The developers haven't talked about it yet, but I can imagine we will have
>> some target platforms where sizeof(char)=1, which would provide for 100%
>> compatibility with old code and some platforms where sizeof(char)=2, which
>> will provide the unicode support for the future.
>
> Sorry, but a unicode character can be anything from 1-4 bytes. 2
> bytes will hardly cover the full unicode character range.
Please read http://unicode.org/notes/tn12/ why using 2 byte strings
internally is the best choice.
Daniël
More information about the fpc-devel
mailing list