[Lazarus] Does Lazarus support a complete Unicode Component Library?

Jürgen Hestermann juergen.hestermann at gmx.de
Tue Feb 22 07:11:46 CET 2011


 > I don't need Unicode support, and I DON'T want to have to worry about 
its complexities. 
 > Just leave a compiler mode or switch that lets me keep "string"  as 
LongString and I will be
 > happy, whatever happens with unicode. And, as far as I understand, 
you can still set
 > string = shortstring with a compiler switch, so leaving a compiler 
switch for unicode strings
 > would be "just like it did from ShortString to LongString".

But why are you using the generic "string" type at all? If you want to 
make sure that you use AnsiString or ShortString or whatever then use it 
directly. That way you have full control about the string type used.





More information about the Lazarus mailing list