[fpc-devel] FPC 2.3.1 seems a mixed mess with Unicode support

Marco van de Voort marcov at stack.nl
Thu Sep 17 11:16:47 CEST 2009


In our previous episode, Graeme Geldenhuys said:
> > 
> > Yes. RTLString would be just an alias to UnicodeString in win32 and 
> > UTF8String in unixes
> 
> Bad news for Michael. :-) We would have to have serious documentation on
> all the string types supported by FPC - I'm loosing count!  We would
> also need a nice big table showing all the "alias" strings and what they
> really mean on each platform.

A good place to start:

http://www.stack.nl/~marcov/delphistringtypes.txt
 
> If I sometimes compare Java's string handling and types to FPC's Object
> Pascal implementation - I wonder if we as Object Pascal developers have
> got nuts! :-) Java's string handling seems so simple, even with Unicode
> (or not) support.

Java is not portable. The VM hides the platform differences. Object Pascal
interfaces directly and unfiltered/marshalled with the world.



More information about the fpc-devel mailing list