Bugzilla – Bug 9430
Browse Music Folder doesn't decode UTF8 characters on the controller
Last modified: 2011-03-16 04:39:17 UTC
Another problem from the world of charset... I'm running a UTF-8 only system on linux. Generally i have no problems with non-ascii characters. The same applies to the controller but i've just found out, that Music Library->Music Folder doesn't decode directories & files containing such characters. It looks like the usual "didn't decode utf8" issue, i.e "ä" is displayed as "Ãx". SC has no problem. version: SC 7.3r23081, SBC 7.3r2909
What does Settings/Status say about your system? What locale are you using? Would adding/removing the --charset=utf8 parameter change the behaviour?
It shows "Linux - EN - utf8". Unfortunately i'm away from the controller now, so i can't test --charset=utf8. But as i said, BMF with SC and the Player UI work just fine. All other menus (Album, Artist, New Music, etc.) on the SBC are working well. It's just BMF on the controller...
(In reply to comment #1) > Would adding/removing the --charset=utf8 parameter change the behaviour? there's no change depending on this parameter. kind regards, Markus
Markus: what language did you select for SC/SN and on your Controller?
it's english - on SC & SBC. Do you want me to take any traces/logs?
I've captured and compared the SC<->controller network communication between "artist listing" and "music folder listing". It looks like the data comming from the Squeezecenter in case of "music folder listing" is not encoded to utf8 properly. artist listing (works fine) ... {"params": "textkey":"A","artist_id":7,"favorites_url":"db:contributor.namesearch=ALIZ%C3%89E","favorites_title":"Alizée"} ... music folder listing (SBC displays: Alizé) ... {"params":{"textkey":"A","folder_id":6732},"text":"Alizé"} ... problems seems to need a fix on the server side...
change 23180 - in musicfolder query we need utf8 decode file/folder names before returning them
thanks! looks good now. one more coding/charset bug squashed... ;)
*** Bug 9632 has been marked as a duplicate of this bug. ***
From BUG 9632 =============== The bug #9430 (error in non latin directory/file name displayed on controller) also appear in version 7.2.1. It is pretty annoying when browsing music by folder (see https://bugs-archive.lyrion.org/show_bug.cgi?id=9488#c11). The same correction as applied to 7.3 (http://svn.slimdevices.com/?view=rev&revision=23180) works for me on 7.2.1. Could it be fixed officially on the 7.2 branch.
Bill, please try 7.2.1-23353 (nightly) or later. Let us know if that version still has the same issues.
I already did so earlier today, but didn't note here. Change 23378
Works fine for me, no, in version 23384. Thank you very much for the prompt action. However the same issue of character set appear in the status of the progress of scanning the folder. I'll open a separate bug for ease of tracking, although this is minor.
Verified fixed in SqueezeCenter 7.2.1-23555 Controller 7.2 r3080
This bug has been fixed in the 7.3.0 release version of SqueezeCenter! Please download the new version from http://www.slimdevices.com/su_downloads.html if you haven't already. If you are still experiencing this problem, feel free to reopen the bug with your new comments and we'll have another look.
I did a full scan with the latest version (7.3.2 24401) and I have seen no error on the status page (only some titles are shown during the scan, so this is not an final test, but at least it looks good). Thanks