[fpc-devel] Russian locale information not compatible with FPC locale variables

Marco van de Voort marcov at stack.nl
Tue Jul 29 11:32:34 CEST 2008


> 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.

(it can be larger, since a printable char might be more than one codepoints.
(Thai iirc uses up to 4). This is due to the fact that interpunction in a
lot of languages is more or less combined into the last char.

> A pipe dream, like I said before...  :-)    I don't see the point why
> developers want to switch between compilers, using the same code base.
>  Simply pick a compiler that can do it all, FPC!! 

(It happens. However sharing libraries are more important for sharing then actual
end-developer projects. Specially the open source ones. And why not? A few
defines extra and your audience is larger)




More information about the fpc-devel mailing list