[Bug 427568] [NEW] Please sort programs in a locale-friendly way

Michael Terry michael.terry at canonical.com
Thu Sep 10 21:52:49 UTC 2009


Public bug reported:

Binary package hint: software-store

The listing of programs right now is sorted by name.  But it seems to
sort by character code (i.e. strcmp).  You can see this falling down
when there are accents in the program name.

I propose that it should instead sort using the unicode algorithm for
sorting in a locale-sensitive way.  Different languages have very
different sorting rules.

I recently did this with the Ubuntu installer ubiquity, and found the
python wrapper for libicu to be useful (python-pyicu).  It can be used
to generate collation keys for a given key in a given locale.

** Affects: software-store (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Please sort programs in a locale-friendly way
https://bugs.launchpad.net/bugs/427568
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list