Page 1 of 1

Cyrillic support

PostPosted: Tue Jul 07, 2009 1:14 am
by twent4
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

PostPosted: Tue Jul 07, 2009 5:43 am
by sindre_mehus
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 :-)

PostPosted: Wed Jul 08, 2009 3:06 am
by twent4
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.