UTF-8 - can't get it to work

Need help? Post your questions here.

Moderator: moderators

UTF-8 - can't get it to work

Postby Sykh » Tue Oct 02, 2012 7:20 am

Hey all,
yes i've used the search and i found a solution but i couldnt get it to work :(

I'm running Ubuntu 12.04.1 LTS

Everything done as root:
Code: Select all
locale
LANG=de_DE.UTF-8
LANGUAGE=de_DE
LC_CTYPE="de_DE.UTF-8"
LC_NUMERIC="de_DE.UTF-8"
LC_TIME="de_DE.UTF-8"
LC_COLLATE="de_DE.UTF-8"
LC_MONETARY="de_DE.UTF-8"
LC_MESSAGES="de_DE.UTF-8"
LC_PAPER="de_DE.UTF-8"
LC_NAME="de_DE.UTF-8"
LC_ADDRESS="de_DE.UTF-8"
LC_TELEPHONE="de_DE.UTF-8"
LC_MEASUREMENT="de_DE.UTF-8"
LC_IDENTIFICATION="de_DE.UTF-8"
LC_ALL=


If i list a folder everything returns okay, so i guess the locales are installed and running correctly
Code: Select all
Trentemöller# ll
insgesamt 32
drwxrwxrwx   6 subsonic subsonic  4096 Jul 31 18:33 ./
drwxrwxr-x 202 subsonic subsonic 12288 Sep 28 21:17 ../
drwxrwxrwx   2 subsonic subsonic  4096 Aug 23 18:19 Late Night Tales/
drwxrwxrwx   2 subsonic subsonic  4096 Aug 23 18:19 Moan (Vinyl)/
drwxrwxrwx   2 subsonic subsonic  4096 Aug 23 18:19 The Last Resort/
drwxrwxrwx   2 subsonic subsonic  4096 Aug 23 18:19 The Trentemøller Chronicles/


But in subsonic if it's a folder it won't show up (figures) and filenames are with ??? and won't play.

I've edited /etc/default/subsonic and added
Code: Select all
export LANG=de_DE.UTF-8

which should do the trick...but it doesn't.

Can someone please point me in the right direction?

Thanks in advance!
Sykh
 
Posts: 2
Joined: Tue Oct 02, 2012 6:35 am

Re: UTF-8 - can't get it to work

Postby BKKKPewsey » Tue Oct 02, 2012 10:35 am

And your SS version is? :?
Everyone is entitled to be stupid, Image but some abuse the privilege!

Due to the confusion from too many genres of music, we have decided to put both country music and rap music into the genre of Crap music.
User avatar
BKKKPewsey
 
Posts: 2080
Joined: Mon May 23, 2011 12:16 pm
Location: United Kingdom

Re: UTF-8 - can't get it to work

Postby Sykh » Tue Oct 02, 2012 6:34 pm

Aww i knew i forgot something
Version 4.7 (build 3105) – 11. September 2012
Sykh
 
Posts: 2
Joined: Tue Oct 02, 2012 6:35 am

Re: UTF-8 - can't get it to work

Postby hakko » Tue Oct 02, 2012 7:08 pm

In my start script, I have

Code: Select all
export LC_ALL="sv_SE.UTF-8"
export LANG="sv_SE.UTF-8"

java -Dfile.encoding=UTF8 [...]
MusicCabinet developer
hakko
 
Posts: 1416
Joined: Tue Apr 17, 2012 7:05 pm
Location: Sweden

Re: UTF-8 - can't get it to work

Postby BKKKPewsey » Tue Oct 02, 2012 7:39 pm

Also for SS 4.7 which uses the tags much more then previous versions you need to make sure your tags are also UTF8.
See viewtopic.php?f=3&t=10216#p45535

:mrgreen:
Everyone is entitled to be stupid, Image but some abuse the privilege!

Due to the confusion from too many genres of music, we have decided to put both country music and rap music into the genre of Crap music.
User avatar
BKKKPewsey
 
Posts: 2080
Joined: Mon May 23, 2011 12:16 pm
Location: United Kingdom


Return to Help

Who is online

Users browsing this forum: No registered users and 36 guests