Bugzilla – Bug 3739
Scanner unable to read Chinese characters in directory name
Last modified: 2008-09-15 14:39:24 UTC
I have a number of Chinese and Japanese CDs in my collection. Slim will always skip their directories claiming they are invalid and not include them in the library. I've tried this on versions 6.2x, 6.3, and now 6.5x. Same problem. The files were ripped using WMP and are certainly valid directory names but are in double-byte Chinese characters. Sample error is below: 2006-07-11 23:27:05.1470 ERROR: _isValidPath: Couldn't find directory: [F:\My Music\MP3\�M] on disk: [No such file or directory] Renaming all the directories to western characters would be a real pain. (It does work and will then display the song in Chinese characters on SB). Slim server is running on XP PRO. Library drive is directly attached (USB) on NTFS. Windows Media Player has no problem reading these directories and playing results.
Several people on the forum point out they have various foreign characters in their directory names and it works okay. I think I reproduced this bug by just copying the chinese character mentioned in the thread into a directory name, but I want to get Chinese support installed on an XP system to make sure it's really the same bug. KDF (I think) mentioned it might be an issue with the utf-16 character set specifically.
conjecture mostly. "double-byte" means utf16 to me, and I don't recall anything in slimserver dealing with utf16. I have no way to test this.
In XP if you go to control panel, regional and language settings, languages, you will see a check box to "Install files for Asian languages". That might help
all fine, but my windows pc is work pc. thus, no access to files for installing stuff like that. not to mention, it's win2k. Best I can do in conjecture. Chris can check with Dan regrarding utf16
If someone can give me more info on UTF16, I'm glad to check it out.
Can someone contact me on the next steps please?
Here's what I did to reproduce this bug: 1) Installed Chinese (Taiwan) support on XP. (I picked Taiwan because they use 'traditional Chinese' characters, which is a bigger set that PRC, which uses 'simplified Chinese', and I figured the bigger set would be more likely to display the bug.) 2) Created a directory named 有逃亡之虞 趙建銘交保發回更審 (text I stole from a Taiwanese headline). 3) Put an mp3 file with distinctive (but not Chinese) tags into the directory so that it's easy to tell if it has been scanned or not. It wasn't scanned. 4) I put the same file into a directory with an ASCII name. The file was properly scanned.
So it looks like we've confirmed it is a bug. What are the next steps for a fix?
We assign it to the lead developer!
*** This bug has been marked as a duplicate of 2475 ***