Bug 993 - special character not sorted properly in web ui artist browse
: special character not sorted properly in web ui artist browse
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Web Interface
: 6.0.0
: PC Other
: P3 normal (vote)
: ---
Assigned To: Dan Sully
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-03-09 08:01 UTC by Jason Holtzapple
Modified: 2011-03-16 04:40 UTC (History)
0 users

See Also:
Category: ---


Attachments
sorting behavior (6.30 KB, image/png)
2005-03-09 08:02 UTC, Jason Holtzapple
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Holtzapple 2005-03-09 08:01:37 UTC
Just loaded up the new 6.0 beta. One thing that I noticed was artist '�-ziq' -
which was previously sorted after 'Z' and with its own '�' header in the artist
list, has now been sorted after the 'A's and without its own header. Tried
Default2 and Default skins with the same results.

These are mp3 files with id3v1 tags:

$ id3v2 -l mu-ziq_-_bluff_limbo_-_101_hectors_house.mp3 
id3v1 tag info for mu-ziq_-_bluff_limbo_-_101_hectors_house.mp3:
Title  : Hector's House                  Artist: �-ziq                         
Album  : Bluff Limbo                     Year: 1994, Genre: Unknown (255)
Comment: uberstd 3.90.3 mp3gain          Track: 1

I can provide a sample file if it helps things. I attached a little screenshot.
Comment 1 Jason Holtzapple 2005-03-09 08:02:04 UTC
Created attachment 314 [details]
sorting behavior
Comment 2 Dan Sully 2005-03-09 18:13:56 UTC
Jason - where would you like this sorted? After Z as it was before, or in the U's ?
Comment 3 Dan Sully 2005-03-09 18:28:24 UTC
Or actually, s/�/MU/
Comment 4 Jason Holtzapple 2005-03-09 20:15:08 UTC
I just thought it was a bit odd that � now sorts between A and B and that there
might be something wrong with the 6.0 sorting mechanism.

I'm not too fussed about where � appears - wherever perl sorts it by default is
fine.

Do you think putting � in an id3v2.3 tag might help since that tag supports more
character encodings?
Comment 5 Dan Sully 2005-03-09 21:57:56 UTC
Well, it's the issue of if/where we normalize it for the "titlesort". Having the
native character leaves it up to perl for where to sort it, instead of us
explitly putting it somewhere.

For instance, we turn �nima into AENIMA
Comment 6 Dan Sully 2005-03-10 00:39:09 UTC
I've checked in subversion change 2401. This normalizes � to MU