non ascii file sort
ForestCreature
slyfox at inbox.ru
Tue Jul 11 20:58:47 UTC 2006
On Thu, 06 Jul 2006 14:35:27 +0300
Andy Shevchenko <andy at pylesos.interdon.net> wrote:
> ForestCreature пишет:
> > Hello! I've recently noticed wrong file sort order in file list
> > pannels. I use ru_RU.KOI8-R locale. There is no alphabetic symbol
> > order (what strcmp implies?). Attached patch works for me.
> This is glibc related issue, not mc.
> strcoll would have pair case-(in)sensivity functions like
> strcmp/strcasecmp. In this case it would work on 8bit locales. In
> unicode locales we still have problem with third (fourth, ...)
> languages at the same time on FS. I (for example) don't know how to
> resolve this simple.
>
> --
> With best regards,
> Andy Shevchenko. mailto: andy at smile.org.ua
>
>
> _______________________________________________
> Mc-devel mailing list
> http://mail.gnome.org/mailman/listinfo/mc-devel
Maybe you would like mbtowc() => wcscmp()/wcscasecmp() ?
Second function is a GNU ext. It would be easy
implemented via towlower().
Should I try to implement it or it's a dirty hack?
Thanks
More information about the mc-devel
mailing list