[Lazarus] Does Lazarus support a complete Unicode Component Library?
Marco van de Voort
marcov at stack.nl
Wed Feb 16 22:12:12 CET 2011
On Mon, Feb 14, 2011 at 11:07:51AM +0100, Michael Schnell wrote:
> 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.
I don't see why, and don't feel responsible for other people's speculation.
More information about the Lazarus
mailing list