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

Michael Van Canneyt michael at freepascal.org
Mon Apr 4 13:48:46 CEST 2016



On Mon, 4 Apr 2016, Graeme Geldenhuys wrote:

> On 2016-04-04 12:06, Michael Van Canneyt wrote:
>> 1. Using UTF8 is a choice of lazarus. Other people may prefer UnicodeString.
>>     On Windows, UnicodeString is more 'natural' or 'native'.
>
> Based on Internet standards and most popular OSes (mobile devices
> included), UTF-8 is kind - so we all know Windows backed the wrong horse
> [encoding]. ;-)
>
>   [...Graeme runs and hides...]
>

Well, in 2016, I still only use UTF-8, even on windows. 
It works without problems if you know what you're doing.


>> 2. The release cycle of FPC is rather long, so updates will be available not
>>     as fast as the lazarus team needs them.
>
> That's a valid point.
>
> Though it could probably be added as quick as in FPC 3.0.2. It's simply
> two new units that need to be explicitly used by somebody to have any
> affect, so it will not break existing code otherwise [if not used].

They should at least be renamed, to avoid confusion.

Other than that, I personally see no objections.

Michael.



More information about the fpc-pascal mailing list