[fpc-devel] Unicode support (yet again)

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Wed Sep 14 05:02:20 CEST 2011


On Tue, Sep 13, 2011 at 9:23 PM, Michael Van Canneyt
<michael at freepascal.org> wrote:
> About the rest I will not comment. But the above certainly will not happen.
>
> The ansistring version must remain for backwards compatibility.
>
> Current strategy on fpc core seems to be to have 2 RTLs:

I didn't know that backward compatibility to ansi was important. I
previously thought that a fully Delphi-style solution would be persued
(only UTF-16).

So I guess we go back to my previous proposal from the mac-pascal
mailling list instead:

* Make file-handling routines which take filenames as parameters from
the RTL modular so that the LCL can implement them with UTF-8 support.
This plus a UTF-8 widestring manager and the Ansi RTL can be fully
UTF-8.

-- 
Felipe Monteiro de Carvalho



More information about the fpc-devel mailing list