The UTF8Decode routine kills any string with malformed UTF8 sequences.
http://bugs.freepascal.org/view.php?id=11791

Thanks for that hint.

I am a bit astonished that this bug has survived 2 updates (was reported for 2.2.0 and still exists in 2.2.2).

I also didn't find any information that the strings are forced to be UTF8. And how do I insert constant strings in UTF8? Do I realy have to look up all sequences when using extented characters?

It took me many hours to find out that the stings were missing only when having german umlauts in them. Not a very reliable programming environment for serious programming if I invest more time in debugging the LCL than in debugging my own programs.


Jürgen Hestermann.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to