[fpc-devel] Unicode RTL
Marco van de Voort
marcov at stack.nl
Wed Nov 16 11:40:19 CET 2005
> Please check this discussion:
> 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?
IMHO the problem is that the principle of the target dependant dir structure
is that there is an separation between OS and non-OS dependant code,
allowing to reuse the OS independant code.
However this doesn't work fully this way, since unicode internally also hits
OS-independant code hard. IOW the separate target only solves the windows
More information about the fpc-devel