[fpc-devel] RTL and Unicode filenames operations.

Marco van de Voort marcov at stack.nl
Wed Feb 17 11:34:08 CET 2010


In our previous episode, Mattias Gaertner said:
> > 
> > Could you please resolve the issue with "won't be accepted" (or no
> > changes required)?
> > 
> > The implementation is not only about RTL encoding, but system
> > environment as well, since it depends upon Windows *W function to be
> > available. But who cares about 9x these days?! :)
> 
> Notes:
> - Comparison is wrong under OS X, see lcl FileUtil.pas
> - missing a note that files with broken UTF8 chars can not be read
>   under Linux. Maybe add a note where the system encoding file routines
>   are.
> - ExtractRelativePath works Delphi compatible, but always case
>   insensitive, so not useful under Linux.

On the implementation front I had some doubts about charinset. It doesn't
seem to be locale aware and only treat the bottom 128 chars. Is this
compatible?



More information about the fpc-devel mailing list