Hello Jürgen, Saturday, December 20, 2008, 6:46:06 PM, you wrote:
JH> Form1.ListBox1.Items.Add(AnsiToUTF8('ööööööööööööö')); JH> Form1.ListBox1.Items.Strings[Count-1] := (AnsiToUTF8('ööööööööööööö')); JH> How is this supposed to work? Even if the wrong coding is used I don't JH> understand why the whole string is dropped when not using AnsiToUTF8. JH> Without the conversion I would expect to see incorrect characters JH> instead of the umlauts. The UTF8Decode routine kills any string with malformed UTF8 sequences. http://bugs.freepascal.org/view.php?id=11791 -- Best regards, JoshyFun _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal