Bugzilla – Bug 13859
cannot open UTF-16 character set cue sheet
Last modified: 2011-01-14 13:18:56 UTC
I am running suqeezebox server 7.4-28429. The server can read the embedded cue file in FLAC file in UTF-8 font and display it correctly, but cannot open the external UTF-8 cue sheet. Furthurmore,althought the embedded cue sheet is accessible, but it cannot open the relating song, an error is prompt 'can't open file'. Obviously, the server unable to open the external cue sheet so switch to embedded cue sheet, but still cannot open the music file. This error happen to UTF-8 character set flac file and cue sheet, for example the asian song. no problem with the ASCII flac file.
Please don't preset severity. Where do these files reside? Could permissions have anything to do with this?
(In reply to comment #1) > Please don't preset severity. > > Where do these files reside? Could permissions have anything to do with this? Thanks Ross, I have done more tests and find out the problem probably is that how to handle the UTF-8 coded cue sheet and the flac file's name. My case is that: I have two file: 龚玥 - 民歌红Ⅱ.cue 龚玥 - 民歌红Ⅱ.flac This is the cue sheet in UTF-8 PERFORMER "龚玥" TITLE "民歌红Ⅱ" FILE "龚玥 - 民歌红Ⅱ.flac" WAVE TRACK 01 AUDIO TITLE "妻子辛苦了" INDEX 01 00:00:00 TRACK 02 AUDIO TITLE "想起老妈妈" INDEX 01 05:15:70 TRACK 03 AUDIO TITLE "未了情" INDEX 01 10:35:68 ... when SC open the cue sheet, it cannot find the 龚玥 - 民歌红Ⅱ.flac file because the flac file in Windows XP NTFS actually coded in UTF-16. Then the SC try to used the embedded cue sheet, it can show the title of the songs but still cannot find the flac file. It Foobar, I can play the song correcly either by double click cue sheet or the flac file. So I don't know why SC can't, is it because PERL have some problem with the unicode filename? Another clue is that, when I change the flac name to be CDImage.flac, then SC will be able to open the flac file, but will treat the album as two album: one is read from the cue sheet, one is read from the flac file with embedded cue sheet. The former can be play each song but can't display the UTF-8 song title correctly, the later one can display the song title correctly but cannot play the song (can't open file). Hope this information can be help. I wish SC can as good as FooBar regarding the UNICODE filename.
Hi, would you please attach a copy of this cue sheet?
Andy, I have further ivestigated the issue and found that the problem is that the server cannot read Chinese font folder name or file name. After I changed the folder name and filename to English, the SC works very well. That means the SC can handle the cue sheet in Chinese font very well. Can you focus on addressing the UTF-8 font folder name and file name? Thanks.
Moving P3 and lower bugs to next release target