[fpc-devel] Unicode support (again)

Michael Schnell mschnell at lumino.de
Tue Nov 11 12:28:16 CET 2008

> However, the "platform" part in it, depends on the string type used 
> that all libraries have been compiled with. I.e. regardless of your 
> setting, "assign" would accept a ansistring or unicodestring depending 
> on the platform, and this will be mostly dependand on wether the 
> platform has an actual unicode API.
IMHO, all libraries should use the individual string types, so that the 
compiler knows that it needs to convert "String" to/from whatever type 
the library API uses if the user uses another string type explicitly or 
by setting "String" to whatever type.

Moreover the user should have the possibility to recompile a library so 
that it uses the string type he desires in it's API. Hey we do use open 
source here !!! Recompiling on a per project base should not be an issue.


More information about the fpc-devel mailing list