On 11 Jan 2011, at 10:47, Marco van de Voort wrote:

Embacadero however decided otherwise and kept a wall between the 1 and 2
byte types. So at least 1 and 2 byte types as basetype are different
targets.

I'm actually not sure about that: the new ansistring type has a hidden "element size" field (in addition to the reference count, length and codepage), and from what I can see at page 10 of http://edn.embarcadero.com/article/images/38980/Delphi_and_Unicode.pdf , Delphi 2009's unicodestring is simply an ansistring(1200).


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

Reply via email to