Am 13.10.2011 11:04, schrieb Michael Schnell:
On 10/13/2011 10:52 AM, Sven Barth wrote:

So you suggest that in Delphi XE, UnicodeString is _not_ a "new String"
Type ?


I don't know what you describe as "new string", but "UnicodeString"
was introduced as a new type in Delphi 2009 and "String" was made an
alias to "UnicodeString". If you want to use the code page aware
string, then you need to use "AnsiString(xyz)" which is no longer used
for "String".

The question was: "in XE, is UnicodeString not a "code page aware"
String (under the hood) ?" (No question about usage, FPC, or D2009 or
alias to "string".)

No, UnicodeString is not codepage aware.

Regards,
Sven

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

Reply via email to