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

2009-09-18 Thread Michael Vogt
The function is wcscoll - I just checked the glibc source and it seems that the algorithm implemented there is iso14651. UCA and tr10 go beyond as explained in http://unicode.org/faq/collation.html#13 - So it seems to be worthwhile to use icu. I set this to medium priority. ** Changed in: softwar

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

2009-09-18 Thread Michael Vogt
Hey Michael, thanks for your update. I am no expert for unicode sorting myself, but I know that python uses wscoll internally for locale.strcoll(). So wide chars should be supported and strcoll should implement sorting based on the rules of the selected locale. For me, I see e.g. Déjà Dup sorted b

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

2009-09-18 Thread Michael Vogt
Hey Michael, thanks for your update. I am no expert for unicode sorting myself, but I know that python uses wscoll internally for locale.strcoll(). So wide chars should be supported and strcoll should implement sorting based on the rules of the selected locale. For me, I see e.g. Déjà Dup sorted b

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

2009-09-17 Thread Michael Terry
mpt, that's a weak definition of 'alphabetically' for most non-Latin languages. When the package name translation contains non-Latin characters, what's the sorting plan? Even among romance languages, sorting is trickier than just stripping accents. From that Unicode report linked above: "In Fre

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

2009-09-17 Thread Matthew Paul Thomas
Spec updated: '“Alphabetically” means case-insensitive and accent-insensitive. For example, “Déjà Dup Backup Utility” should be sorted between “Debian Documentation Browser” and “DeskScribe”.' (Michael Terry, the problem with

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

2009-09-15 Thread Michael Terry
I don't think using strcoll fixed anything. Again, look at the Accessories department and note the D's. You'll see Déjà Dup at the end, when it should be earlier (in English locale -- and I want to say all locales?). (While looking to see which version I have to re-confirm this bug, I noted that

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

2009-09-11 Thread rugby471
** Changed in: software-store (Ubuntu) Status: Fix Committed => Fix Released -- 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 m

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

2009-09-11 Thread rugby471
** Changed in: software-store (Ubuntu) Status: Confirmed => Fix Committed -- 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 mail

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

2009-09-11 Thread Michael Vogt
Thanks for your bugreport. I used the stock python sort() implementation. I switched to strcoll now -- 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.

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

2009-09-11 Thread Michael Vogt
** Changed in: software-store (Ubuntu) Importance: Undecided => Low ** Changed in: software-store (Ubuntu) Status: New => Confirmed -- 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 Ubu

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

2009-09-10 Thread Michael Terry
For testing purposes without switching your locale, the program name I noticed this on was Déjà Dup. It should sort between De and Df in English, but instead shows up between Dz and Ea. -- Please sort programs in a locale-friendly way https://bugs.launchpad.net/bugs/427568 You received this bug