Luiz Americo Pereira Camara schrieb:

Can you give me a link? I checked the XE documentation and RTL, and could not find that RawByteString can hold UTF-16, and my test confirms that:


http://edn.embarcadero.com/article/38980

You may read also:

http://www.micro-isv.asia/2008/08/using-rawbytestring-effectively/

Thanks, but that's nothing new to me in general, and the RawByteString handling doesn't work as documented.


Are you using Delphi XE or fpc?

I tested with XE, because I wanted to learn more about the possible use or RawByteString in the RTL. The result was not very enlightening, except for the fact that many years after introduction of string encodings and RawByteString the Delphi RTL still contains severe bugs :-(

I dont have Delphi XE. What i know is from that docs and these discussions

That's why I wanted to test with Delphi first, before I start finding bugs or incompatibilities in the FPC implementation.

DoDi

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to