In our previous episode, Michael Schnell said: > I suppose there is a way to just set the encoding of a new string. This > should not affect the stored bytes (or words or DWords).
Afaik it does, but only for ansistring. IIRC there is also a codepage that just means "system default" and assumes the system knows how to convert that from/to utf16 (or utf8 on *nix) _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel