[fpc-pascal] FPC 3 regression: cannot use TStringList for UTF-8 data any more?

tobiasgiesen at gmail.com tobiasgiesen at gmail.com
Mon Apr 4 10:18:18 CEST 2016


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.

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. 


More information about the fpc-pascal mailing list