[fpc-devel] Unicode RTL
Daniël Mantione
daniel.mantione at freepascal.org
Wed Nov 16 13:38:43 CET 2005
Op Wed, 16 Nov 2005, schreef Micha Nelissen:
> Daniël Mantione wrote:
> > To be short, Juras B. wants to add a Unicode Win32 target, so in the
> > standard RTL things like Tlist etc. use ansistrings, while in the Unicode
> > RTL they use widestrings.
>
> Why not use ansistrings with UTF-8 ?
Because then you will have to modify routines like pos, insert, delete.
Since that is not possible, you would get a pos_utf8, insert_utf8, etc.
> > IMHO this is indeed a good solution, but one with consequences. Could
> > somebody give his opinion?
>
> You postpone a decision that no one wants to make. It is not a solution to
> anything. The RTL will have duplicate code. I don't like it.
I don't like it either.
Daniël
More information about the fpc-devel
mailing list