Bugzilla – Bug 3144
Unable to "Browse Artitsts" by first letter when named in Unicode
Last modified: 2006-03-23 19:32:10 UTC
SlimServer Version: 6.5b1 - 6542 - Windows XP - EN - cp1251. Nightly build 2006-03-09 I found a similar report on Beta Forum http://forums.slimdevices.com/showthread.php?t=21292 but no similar bugs. Part of my music is tagged in cyrillic. In general, both the latest SlimServer 6.5 Web UI (when browsed by Music Folder) and the Squeezebox v3 (browse and playing now display) handle these characters just fine. Browse Artists shows the first letters correctly in both alphbets, i.e the list is built like this "A..Z (cyrillic starts) А..Я". But clicking on the cyrillic letters does not change the page (or at least returns back to the same page).
I noticed this as well, after the pagebar went into template toolkit objects. I didn't have much luck fixing, but I only have one test case so I'm not the most motivated on this specific problem. Moser, any ideas how to fix this?
It would be helpful to see the source generated for the pagebar, that might help in figuring out what is going on.
pagebar: <a href="browsedb.html?player=00%3A04%3A20%3A06%3A09%3A12&hierarchy=album,track&level=0&start=#%D0%9A">К</a> <a href="browsedb.html?player=00%3A04%3A20%3A06%3A09%3A12&hierarchy=album,track&level=0&start=#%E3%82%86">ゆ</a> <a href="browsedb.html?player=00%3A04%3A20%3A06%3A09%3A12&hierarchy=album,track&level=0&start=#%E6%88%80">戀</a> and the anchors: <a name="К"></a> <a name="ゆ"></a> <a name="戀"></a> I guess the escaped "start=..." isn't matching the anchor names. hopefully that showed up right.
Try change 6594. The pageinfo.alphamap.$alphakey was most likely the problem. I was able to reproduce by sending a hash with a unicode key to TT and using the hash.$key construction showed the same problem. Switching to hash.item(key) resolved the test case, so hopefully the same change will fix this bug.
The bug is fixed. I've just installed the nightly build v2006-03-23 and verified that it resolves the issue. I appreciate your quick response.