Bug 5135 - International characters in music folder
: International characters in music folder
Status: CLOSED WORKSFORME
Product: Logitech Media Server
Classification: Unclassified
Component: Localization
: 6.5.2
: PC SuSE Linux
: P2 normal (vote)
: ---
Assigned To: Spies Steven
http://forums.slimdevices.com/showthr...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-06-23 03:32 UTC by Hans Palm
Modified: 2012-02-27 17:33 UTC (History)
0 users

See Also:
Category: ---


Attachments
Screen dump illustrating the problem. (52.84 KB, image/jpeg)
2007-06-23 03:34 UTC, Hans Palm
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hans Palm 2007-06-23 03:32:54 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.
Comment 1 Hans Palm 2007-06-23 03:34:54 UTC
Created attachment 2056 [details]
Screen dump illustrating the problem.
Comment 2 Chris Owens 2007-06-26 09:33:15 UTC
Steven could you have a look?
Comment 3 Spies Steven 2007-06-26 16:08:19 UTC
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
Comment 4 Hans Palm 2007-06-27 01:25:57 UTC
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
Comment 5 Spies Steven 2007-06-27 09:52:21 UTC
Hans, iso-8859-1 might be the issue.  I think it should be utf8.  I will look into it further.
Comment 6 Hans Palm 2007-06-27 11:12:10 UTC
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.
Comment 7 Hans Palm 2007-06-27 11:24:48 UTC
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?
Comment 8 Spies Steven 2007-07-05 11:36:22 UTC
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?
Comment 9 Hans Palm 2007-07-05 11:53:48 UTC
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?
Comment 10 Hans Palm 2007-07-05 22:55:14 UTC
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.
Comment 11 Spies Steven 2007-07-26 14:23:24 UTC
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.
Comment 12 Hans Palm 2007-07-27 10:44:47 UTC
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.
Comment 13 Chris Owens 2007-09-18 12:28:11 UTC
We're about to abandon the 6.5.x branch.  Do you know if this also happens in 7.0?
Comment 14 Blackketter Dean 2007-10-26 09:44:22 UTC
Hans, can you please try this with 7.0?  Thx!
Comment 15 Chris Owens 2007-12-10 09:41:02 UTC
This does not seem to happen in 7.0
Comment 16 James Richardson 2012-02-27 17:33:34 UTC
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.