On Tue, 18 Nov 2014 18:17:25 +0100 Jonas Maebe <jonas.ma...@elis.ugent.be> wrote:
> On 18/11/14 16:59, Mattias Gaertner wrote: > > Hi and much kudos for those who made the UTF8 RTL. > > Thanks, but there is no UTF-8 RTL. That's what I thought too a week ago. FPC 2.7 made an old dream come true. :) > > GetCurrentDir, FindFirst, FileExist, TStringList, etc. all work well. :) > > They are not guaranteed to use UTF-8, and you must not assume that they > do (and TStringList in particular has not been changed in any way). > > See http://wiki.freepascal.org/FPC_Unicode_support for the details, and > http://wiki.freepascal.org/FPC_Unicode_support#RTL_changes for the list > of RTL routines that currently work correctly with arbitrary code pages > (or that at least should do so). Yes, this page is great. I had to read it twice to understand the flexibility of the new RTL. > > ParamStr is not yet converted and only supports system codepage. I > > would like to help improving it. > > It will always only support system code page on Unix platforms, because > everything that comes from the shell must be assumed to be in that code > page. On Windows, it can be changed though. True. >From Lazarus point of view most Unicode problems are on Windows. And now most of them are solved. FPC 2.7 will be a big improvement for Lazarus users. Mattias _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel