Bug 16906 - Wrong sort order when displaying a list of music folders that contain Unicode characters
: Wrong sort order when displaying a list of music folders that contain Unicode...
Status: UNCONFIRMED
Product: Logitech Media Server
Classification: Unclassified
Component: Localization
: 7.6.0
: PC Windows 7
: -- normal (vote)
: ---
Assigned To: Unassigned bug - please assign me!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-02-06 15:49 UTC by grebenik
Modified: 2011-11-06 23:24 UTC (History)
1 user (show)

See Also:
Category: Bug


Attachments
A list of folders I am using - a mix of Ascii and Cyrillic unicode chars (192 bytes, text/plain)
2011-02-06 15:49 UTC, grebenik
Details
Screenshot of SB Touch showing issue 1 (28.19 KB, image/jpeg)
2011-02-06 15:54 UTC, grebenik
Details
Screenshot of SB Touch showing issue 2 (31.43 KB, image/jpeg)
2011-02-06 15:55 UTC, grebenik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description grebenik 2011-02-06 15:49:28 UTC
Created attachment 7117 [details]
A list of folders I am using - a mix of Ascii and Cyrillic unicode chars

I am using MusicFolder to access my music via SB Touch and I am seeing 2 issues
when the list of subfolders contain cyrillic Unicode characters.
Comment 1 grebenik 2011-02-06 15:54:42 UTC
Created attachment 7118 [details]
Screenshot of SB Touch showing issue 1
Comment 2 grebenik 2011-02-06 15:55:15 UTC
Created attachment 7119 [details]
Screenshot of SB Touch showing issue 2
Comment 3 grebenik 2011-02-06 16:03:47 UTC
Finally describing the issues - sorry my first bug here.
Issue 1. Folder names starting with the same unicode characters are not shown together - instead folders with names starting with other characters are in between. In my 'issue1' screenshot you can see the following order:
В. Зотов
А. Некрасов
В. Смехов
Агния
Even if this bug tracking tool is not unicode you can see that instead of something like A,A,B,B order I have B,A,B,A. You can reproduce this bewhavior easily by creating folders with the unicode names from the attached folders.txt.
BTW, folders.txt contains the proper sort order - which you can see by browsing the Windows folder hierarchy too.

Issue 2: Cyrillic characters are intermixed with ascii characters. In screenshot Issue2 you can see 3 ascii-named folders and 2 cyrillic-named folders in between. Note that even though a character might look like an ascii one it might be pronounced totally differently, not to mention that it's hard to sort using a 'combined' English+Russian alphabet. Better leave the two languages separate like Windows does.
Comment 4 Alan Young 2011-05-11 00:13:38 UTC
What operating-system Locale do you start SbS with?
Comment 5 grebenik 2011-05-11 00:33:13 UTC
System locale ("for non-Unicode programs") is Russian, Windows UI language is US English (I'm running regular US Win7 pro). Squeezebox server runs under the user account which has all default US settings.
Comment 6 grebenik 2011-05-15 19:12:00 UTC
I set the system locale to US English, rebooted and got no difference in sort order. The bug still reproes.
Comment 7 Alan Young 2011-11-06 23:24:07 UTC
Unassigned bugs cannot have a priority.