Cyrillic support

Need help? Post your questions here.

Moderator: moderators

Cyrillic support

Postby twent4 » Tue Jul 07, 2009 1:14 am

Hi
I've got an issue which is probably more related to linux/GNOME boot order rather than Subsonic operation. When i manually start Subsonic after logging in, i can see all my Russian music listed in the nav pane (i can create the alphabet filter and everything works great).

However, if the subsonic shell command is invoked on autostart from /etc/rc.local (i'm too much of a newbie to get it to spawn as a daemon yet), none of the Cyrillic named folders are listed, I'm guessing the language sets are loaded upon logging in... I'd like subsonic to load everything without having to log in though.

Any ideas? Using vanilla Ubuntu 8.04 x86.
thanks
twent4
 
Posts: 17
Joined: Tue Jul 07, 2009 1:06 am

Postby sindre_mehus » Tue Jul 07, 2009 5:43 am

I'm no expert on this, but it sounds like it's related to the locale settings, i.e., the environment variable LC_ALL and others.

http://opengroup.org/onlinepubs/0079087 ... nvvar.html

Maybe the locale isn't set properly when starting from rc.local.

I'm sure some Linux gurus can follow up on this :-)
Subsonic developer
User avatar
sindre_mehus
 
Posts: 1955
Joined: Tue Nov 29, 2005 6:19 pm
Location: Oslo, Norway

Postby twent4 » Wed Jul 08, 2009 3:06 am

Sindre, thanks for your quick reply.

i added these to rc.local
Code: Select all
export LC_ALL="en_US.UTF-8"
export LANGUAGE=en_CA:en


and it seemed to do the trick... i know it's a bit dirty but since they all get redefined later on, I'm happy with it. Upon logging in LC_ALL is cleared. Unfortunately i can't eliminate one right now since i can't reboot right this moment, and I'm guessing i didn't have to export them but just precede the subsonic call.
twent4
 
Posts: 17
Joined: Tue Jul 07, 2009 1:06 am


Return to Help

Who is online

Users browsing this forum: No registered users and 26 guests