by TorbenB » Mon Nov 19, 2012 1:58 am
I've been seeing the exact same problems on my QNAP server when I upgraded to 4.7, but seem to have fixed it.
First up, this:
export LANG="en_US.utf8"
export LC_CTYPE="en_US.utf8"
didn't do anything for me, but opening a shell and entering "locale", I noticed that what was already registered, was "en_US.UTF-8", so I changed it to:
export LANG="en_US.UTF-8"
export LC_CTYPE="en_US.UTF-8"
and added -Dfile.encoding=UTF8 to the Java section in subsonic.h
I also deleted my existing database (actually most of the home folder content) and did my experiments on a couple of folders, each containing a few artists and albums. This means I'll have to scan everything again, but I'd rather do that and know it works now, than having a messed up database. Of course losing users and other registrations in the database is another issue.
So I'm not sure if it was just deleting the existing database or a combination of it all, but now Subsonic scans my folder structure, where I have artists like "ÜNN", that wasn't scanned before, and tracks with names containing characters like "æ" or "ö" shows up as a normal track in the correct order, and not at the top and non-playable.