Page 1 of 1

Transcoding not work if file name contain special character

PostPosted: Sun Feb 21, 2010 7:10 am
by unhappylcc
I have set maximum bit rate to 128Kb, to help streaming to the android phone smoothly, for normal file naming with normal English, number, or even Chinese character, transcoding works fine, but if the file name naming with Japanese character, transcoding will not work.

I look though the log file and it seems that is the problem Windows console cannot handle Japanese character (The file name change to ???), makes lame not able to read the mp3 file to encoding. Here are part of the log:

Code: Select all
[2010-02-21 14:20:18,575] INFO PlaylistInputStream - admin listening to "[2003-10] I WiSH - 伝???言葉~?????場所~ [192kbps]\01. 明日??扉.mp3"
[2010-02-21 14:20:18,582] DEBUG TranscodeInputStream - Starting transcoder: [c:\subsonic\transcode\lame] [-S] [-h] [-b] [32] [e:\music\I WiSH\[2003-10] I WiSH - 伝???言葉~?????場所~ [192kbps]\01. 明日??扉.mp3] [-]
[2010-02-21 14:20:18,866] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\lame) Could not find "e:\music\I WiSH\[2003-10] I WiSH - 伝???言葉~?????場所~ [192kbps]\01. 明日??扉.mp3".


So, is there any way I can fix this problem? or I need to rename all of my music file to English / number file name. Thank you.

PostPosted: Mon Feb 22, 2010 2:03 pm
by Skywatcher
Install japanese language support files in windows.
That should make windows able to handle japanese characters.

If I'm not mistaken it's somewhere around the control panel.

PostPosted: Tue Feb 23, 2010 12:45 am
by unhappylcc
Thank you for your reply.

Tried and still not working. But I think if I change the setting in control panel, make Japanese to the language for non-unicode programs, it will work, but entire windows will change to Japanese display, thats not what I want.

I wondering if I run Subsonic on Linux, will this problem arise?

PostPosted: Tue Feb 23, 2010 7:26 am
by unhappylcc
Finally, I tried install subsonic on a computer running Ubuntu Linux, transcoding works on the Japanese file name, but another problem arise, the tags with Chinese character can not be display, thus not able to play on android client.

How can I solve these problem again, The tags can display on Linux media player, but why it cannot display in subsonic? I forget the character encoding, it must be UTF-8 or UTF-16.

Thank you.