[fpc-devel] String and UnicodeString and UTF8Stringt
Jonas Maebe
jonas.maebe at elis.ugent.be
Tue Jan 11 14:56:27 CET 2011
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
More information about the fpc-devel
mailing list