On Mon, 4 Apr 2016, tobiasgie...@gmail.com wrote:
Hello, disallowing "AnsiString" code for UTF-8 is a huge regression. I use TStringList for UTF-8 strings. This is no longer possible, because automatic conversions cause question marks and data loss.
Same answer as in my other mail. Set DefaultSystemCodePage to CP_UTF8.
I also use a large amount of third-party libraries that use the AnsiString data type for UTF-8. I really want to use FPC 3 due to other things, but this is a deal breaker. Why not add a simple switch or even a run-time Boolean global variable to turn off codepage conversions? It behaves differently from Delphi too.
This depends on the version of Delphi :) Michael. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal