Am 05.01.2012 12:32, schrieb Marco van de Voort:
In our previous episode, Michael Schnell said:
With Lazarus on Linux, I did some simple tests with UTF strings.

I found that the length of an "AnsiString(CP_UTF16)" is given in terms
of bytes and not of Words. Is this like it should ?

Yes. Afaik that is not a sane combination, but Delphi compatible.


AFAIK (I'd need to start Delphi for this) AnsiString(CP_UTF16) is not allowed in Delphi.

Regards,
Sven

_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to