[fpc-devel] String and UnicodeString and UTF8String

Michael Schnell mschnell at lumino.de
Tue Jan 11 09:39:10 CET 2011


On 01/10/2011 04:27 PM, Marco van de Voort wrote:
> I think in the planned Embarcadero cross-compile products, string will also
> be utf-16 on OS X and Linux.
Yak,

I had hoped that using the dynamically encoded string type nearly 
everywhere would allow for a great lot of not OS-specific code in the 
VCL (and LCL) without the need for excessive conversions maintaining the 
systems' coding (UTF-16 or UTF-8) in and out with GUI-centric user code.

I thought this would have been the main reason for introducing the 
additional complexity of the dynamically encoded string type.

-Michael



More information about the fpc-devel mailing list