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

Michael Van Canneyt michael at freepascal.org
Wed Apr 13 09:04:51 CEST 2016



On Tue, 12 Apr 2016, Michael Schnell wrote:

> On 04/04/2016 11:27 AM, Juha Manninen wrote:
>> 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
> I just did some tests and it seems that TStringList (this is what Tobias is 
> concerned about) (with the Lazarus installation straight from the svn) 
> seemingly always uses UTF8.
>
> Is this correct  ?

No. It uses the DefaultSystemcodepage. If the system codepage is UTF8, then
it will use UTF8.

Michael.



More information about the fpc-pascal mailing list