[Lazarus] Does Lazarus support a complete Unicode Component Library?
Hans-Peter Diettrich
DrDiettrich1 at aol.com
Wed Feb 16 23:14:21 CET 2011
Sven Barth schrieb:
> The following compiles:
>
> type
> UTF8String = type AnsiString(65001);
>
> but the following does not:
>
> type
> UTF8String = type UnicodeString(65001); // ';' expected, but '(' found
>
> Tested using Delphi XE (65001 is the codepage for UTF-8 on Windows).
Please test again, with something like
MyUnicodeString.Encoding := 65001;
DoDi
More information about the Lazarus
mailing list