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

Juha Manninen juha.manninen62 at gmail.com
Mon Apr 4 11:27:30 CEST 2016


On Mon, Apr 4, 2016 at 11:18 AM,  <tobiasgiesen at gmail.com> wrote:
> I use TStringList for UTF-8 strings. This is no longer possible, because
> automatic conversions cause question marks and data loss.

You are completely lost with this issue. The automatic conversion of
encodings is a big step forward.
Just use the new UTF-8 mode provided by Lazarus and remove all
explicit conversion functions.
  http://wiki.freepascal.org/Better_Unicode_Support_in_Lazarus

Juha



More information about the fpc-pascal mailing list