On 10/12/2011 01:45 PM, Hans-Peter Diettrich wrote:
Michael Schnell schrieb:
So target encoding ID "0" means that " := " will preserve the
encoding of the source and set the target appropriately without doing
a conversion.
No. Codepage 0 stands for the system encoding, formerly "native"
string encoding. I.e. 1252 on western Windows, maybe 65001 (UTF-8) on
Linux (user selectable).
Not when a string with encoding ID 0 is used as a target.
Paul wrote:
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.
-Michael
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel