Bugzilla – Bug 5135
International characters in music folder
Last modified: 2012-02-27 17:33:34 UTC
Names of folders and files are not correctly displayed when browsing the music folder, both on the H/W player, Softsqueeze and using the web interface. I´ve changed both slimserver language setting to Swedish and the locale on the Suse 10 Linux, the locale is set correctly. When browsing files and folders on either the Linux PC or on a Windows PC using Samba, the international characters are correctly displayed (even without setting the locale on the Linux PC to Swedish) so the problem seems to be located to the slimserver.
Created attachment 2056 [details] Screen dump illustrating the problem.
Steven could you have a look?
Hans, could you go into Slim Server, Server Settings, Basic Settings and check the Version Info down at the bottom? It would be great if you paste the first line into this bug. For example mine is: SlimServer Version: 6.5.2 - 12047 - Mac OS X 10.4.9 (8P2137) - EN - utf8
Sure: SlimServer-version: 6.5.2 - 12047 - Linux - SV - iso-8859-1 Server IP address: 192.168.1.1 Perl-version: 5.8.7 i586-linux-thread-multi MySQL-version: 5.0.21-standard Hans
Hans, iso-8859-1 might be the issue. I think it should be utf8. I will look into it further.
Is this a problem with slimserver? I had my locale set to English since I don´t want problems with translations when looking for solutions to problems etc. Due to the problems with the international characters with slimserver, I changed the locale to Swedish. Am I supposed to manually select utf8? Don´t know how yet... Or can I change this for slimserver? I did several clean installs due to Suse installation problems.
According to the locale command, I´m using utf-8 but slimserver uses iso-8859-1. How can I change the slimserver setting to utf-8 if this what´s causing the problem?
There is some discussion about this on the forums: http://forums.slimdevices.com/showthread.php?t=35172 However the discussion was about Ubuntu not SuSE. Would you take the time to try the workaround mentioned in the first post?
I´ve tried but without any luck. Also note that the Suse RPM install is complicated, I only got it to work using http://wiki.slimdevices.com/index.cgi?SUSE101StartupScripts Is there a way to force to use a certain character set, perhaps by editing some perl code or configuration file? Or has this setting been saved in the database?
Also tried setting LANG to sv_SE.UTF-8 with no luck. Added logging of $locale in Strings.pm to find out the argument to setlocale, which was sv_SE. Forced the $locale variable to sv_SE.UTF-8 before call of setlocale, no improvement.
There is a suggestion to try in the forums: sudo su - slimserver echo $LANG vi ~/.bash_profile and set it like you like it. Let me know if it works for you and sorry I did not reply sooner.
I have no .bash_profile but I changed first .bashrc (no change) and then also .profile (no change). I restarted slimserver after each change. I did the changes as root in ~slimserver since I don't know the password for slimserver.
We're about to abandon the 6.5.x branch. Do you know if this also happens in 7.0?
Hans, can you please try this with 7.0? Thx!
This does not seem to happen in 7.0
Closing resolved bugs - if you feel this bug still exists please first re-test with the latest SW/FW version. If you are able to reproduce then feel free to reopen and attach new logs / steps to reproduce.