After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 586703 - Japanese kana ignored (treated as punctuation) in sorts
Japanese kana ignored (treated as punctuation) in sorts
Status: RESOLVED NOTGNOME
Product: glib
Classification: Platform
Component: general
unspecified
Other Linux
: Normal minor
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2009-06-22 22:52 UTC by Bryce
Modified: 2009-06-25 22:20 UTC
See Also:
GNOME target: ---
GNOME version: 2.25/2.26



Description Bryce 2009-06-22 22:52:48 UTC
Originally filed here: https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/389739

File name sorting has a nice feature where it ignores characters like [ and * at the beginning of file names, and sorts according to the first sortable character. i.e.

[a
*a
^a
[b
^b
*c

etc...This is nice, however:

Japanese kana characters are incorrectly treated the same way, which causes them to be sorted in a completely arbitrary way. This does not happen when the locale is Japanese, but does for all other locales that I've tried. Kanji seem not to be affected, only kana.

Note in the attached picture (there was one in the original post on the Ubuntu tracker, you can look there but it doesn't really add anything that the description doesn't) the way that the katakana "A" characters are treated exactly the same way as the brackets, asterisk, etc. Also, the two folder names at the top are sorted incorrectly in relation to each other; which gets much worse if you have a lot of real file names (the sorting is completely arbitrary and useless).

The way files are sorted in the Japanese localisation is correct, though.
Comment 1 A. Walton 2009-06-23 16:58:38 UTC
Likely a problem somewhere in the depths of the UTF-8 collation key code. Reassigning to GLib for their opinion on this.
Comment 2 Owen Taylor 2009-06-23 17:00:46 UTC
GLib just uses libc's collation routines internally.
Comment 3 A. Walton 2009-06-23 17:01:49 UTC
Thanks Owen.
Comment 4 Bryce 2009-06-23 23:12:49 UTC
Any idea who this should be reported to then? libc's page says to report bugs to the distros if applicable, and it's locale-specific anyway.
Comment 5 Owen Taylor 2009-06-25 22:20:50 UTC
Sounds like you should revisit the Ubuntu bug, then, and get it reassigned to the appropriate package.