[fpc-devel] Unicode RTL

Tomas Hajny XHajT03 at mbox.vol.cz
Wed Nov 16 13:16:07 CET 2005


Daniƫl Mantione napsal(a):
> Hi,
>
> Please check this discussion:
>
> http://community.freepascal.org:10000/bboards/message?message_id=172880&forum_id=24092
>
> Short summary:
> * Many places in the rtl use single character strings, i.e. ansistrings.
> * To make them Unicode proof they need to be changed into wide strings.
> * But this could break a lot, and add a lot of overhead.
>
> 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.
>
> IMHO this is indeed a good solution, but one with consequences. Could
> somebody give his opinion?

Big overhead (double maintenance efforts for all targets supporting this
schisma). :-( I'd say it's better to successively identify the weak points
and address these case by case.

Tomas




More information about the fpc-devel mailing list