Bugzilla – Bug 2788
CLI returns incorrect UTF-8 string
Last modified: 2006-02-16 10:19:58 UTC
I have a test MP3 file with title, artist and album tags each containing the text: Test �� This displays correctly on the Squeezebox and the web interface, but the CLI returns the following in the appropriate tag returned in response to songinfo or status commands: Test%20%C3%83%C2%84%C3%83%C2%9F When unescaped and transformed to a UTF-8 string, this does not yield the correct result.
I can't add a lot of information. But I wanted to add an observation which might be related: as I also have problems with non-latin characters and the CLI I tried using the charset parameter. But I have the impression that it doesn't change anything whether I use "charset:utf8" or "charset:iso-8859-1" - the resulting string always looks the same. I've tested this on both Windows XP and Linux, with 6.2.2 and 6.5.
Fixed in SVN 5606. The title of track_id 245 is the one given by Malcolm: songinfo 1 1 track_id:245 songinfo 1 1 track_id%3A245 count%3A18 title%3ATest%20%C3%84%C3%9F songinfo 1 1 track_id:245 charset:cp437 songinfo 1 1 track_id%3A245 charset%3Acp437 count%3A18 title%3ATest%20%8E%E1 songinfo 1 1 track_id:245 charset:iso-8859-1 songinfo 1 1 track_id%3A245 charset%3Aiso-8859-1 count%3A18 title%3ATest%20%C4%DF
Thanks Fred, does fix my issue!
marking as fixed then. please re-open if any issues remain.
*** Bug 3012 has been marked as a duplicate of this bug. ***