Paul Ishenin schrieb:
12.10.2011 16:03, Michael Schnell wrote:
I suppose a variable of the type "String" is pre-loaded with the
predefined "System" encoding ID.

If you mean "AnsiString" then it is loaded with encoding 0 which means default system codepage. It will get the real encoding number after the first assignment.

Delphi allows for RawByteStrings with encoding 0. When assigned to an AnsiString, the string encoding still is zero, both variables seem to point to the same string data.

DoDi

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

Reply via email to