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

Michael Schnell mschnell at lumino.de
Mon Feb 14 11:07:51 CET 2011


On 02/12/2011 06:49 PM, Marco van de Voort wrote:And currently 
UTF8String is defined as AnsiString, so there is currently no
>>> difference
>> That's what I thought. So why did they [FPC team] actually bother to
>> create the UTF8String type then?
> It's an alias for literal programming purposes.

While I disagree on much of his wording I so agree with the OP, that 
with having ANSIString and UTF8String an alias for exactly the same - 
only to allow for keeping in mind what coding the user manually 
introduces - is very confusing. These names strongly suggest that a 
statement myANSIString :=  MYUTF8String either is detected as illegal or 
forces appropriate conversion.

-Michael




More information about the Lazarus mailing list