[fpc-devel] RTL and Unicode filenames operations.

dmitry boyarintsev skalogryz.lists at gmail.com
Tue Mar 9 10:37:14 CET 2010


Hello,

The patch has been updated: http://bugs.freepascal.org/view.php?id=15795
(is it possible to allow the reporter to delete its files in FPC bug tracker?)

The library is now RTL "encoding" independent. Actually it's
configurable, so, if RTL string encoding changes, only a 2-3 lines in
the library should be changed.

On Wed, Feb 17, 2010 at 1:10 PM, Mattias Gaertner
<nc-gaertnma at netcologne.de> wrote:
>> 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.

All 3 issues should be fixed by now.

thanks,
dmitry



More information about the fpc-devel mailing list