[fpc-devel] simple UTF tests

Hans-Peter Diettrich DrDiettrich1 at aol.com
Fri Jan 6 18:53:46 CET 2012

Sven Barth schrieb:

>>> Btw in this thread it was already mentioned that Delphi doesn't define
>>> CP_UTF16, but one easily could define it and create the above code.
>> Then tell us the Delphi version that accepts an AnsiString(1200). I
>> couldn't find any :-(
> Ehm... Delphi XE DOES accept AnsiString(1200) as I've written in my 
> other mail. It just doesn't do anything sane with it (Length of such a 
> strings seems to be always zero).

You're right, the XE compiler lacks some error checks :-(


More information about the fpc-devel mailing list