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

Graeme Geldenhuys graemeg.lists at gmail.com
Sun Jan 2 18:29:17 CET 2011


On 2 January 2011 13:47, Sven Barth <pascaldragon at googlemail.com> wrote:
> Casting from AnsiString to UnicodeString invokes the WideString Manager's
> Ansi2UnicodeMoveProc which converts the supplied AnsiString to a correct
> UTF16 string.

Does that mean FPC and LCL always treats UnicodeString type as a UTF16
encoded type? If so, that is a rather odd "type name" then, because
"unicode" is NOT just UTF16, it is also UTF8, UTF16, UTF16-LE,
UTF16-BE and UTF32. A better, and more correct, type name would then
have been UTF16String, just like there is a UTF8String type (though I
don't really know how the latter differs from AnsiString (which is
basically an array of bytes).


-- 
Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://fpgui.sourceforge.net




More information about the Lazarus mailing list