The UTF8Decode routine kills any string with malformed UTF8 sequences. http://bugs.freepascal.org/view.php?id=11791
In the bug report it says that Delphi 7 behaves the same but this is not true. I ported my program from Delphi 7 (where it ran without problem) to FPC. So I am not sure whether we are talking about the same bug here.
Jürgen Hestermann. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal