[fpc-devel] Unicode RTL
Florian Klaempfl
florian at freepascal.org
Wed Nov 16 13:52:06 CET 2005
Daniël Mantione wrote:
>
> 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.
No, why? When working with utf-8 strings, you don't use character positions.
>
>
>>>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
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> fpc-devel maillist - fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-devel
More information about the fpc-devel
mailing list