[fpc-devel] String and UnicodeString and UTF8Stringt

Marco van de Voort marcov at stack.nl
Tue Jan 11 14:05:11 CET 2011


In our previous episode, Michael Schnell said:
> Sorry I don't understand what you mean with this.
> > 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.
> Unfortunately I don't have Delphi > 2007. From what O read I understand 
> that the dynamically code string type can hold 1, 2, and 4 byte (maybe 
> even more) Codes for it's elements (denoted in one control-value) and 
> each of those (theoretically) in different coding schemes (denoted in 
> another control-value), allowing e.g. for UTF-8, UTF-16, UCS4, German 
> ANSI, raw Byte, string....

That is wrong. Better read up on that.
 



More information about the fpc-devel mailing list