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


--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to