International character problem

Need help? Post your questions here.

Moderator: moderators

Postby stozher » Mon Dec 06, 2010 4:54 pm

Thanks! Worked on Debian/GNU Linux. I include to /etc/default/subsonic
export LANG=en_US.utf8
User avatar
stozher
 
Posts: 313
Joined: Tue Nov 16, 2010 10:56 am
Location: Sofia, Bulgaria

Postby lambda » Thu Dec 30, 2010 1:06 pm

I had this working at one point, but I've done a new installation of Subsonic on a little nettop running 10.04 LTS, and I can't get folders with international characters to show up, despite putting export LANG and export LC_CTYPE in all the pertinent files (/usr/share/subsonic/subsonic.sh, /etc/init.d/subsonic, etc.) Anything else I'm forgetting?
lambda
 
Posts: 8
Joined: Wed Sep 08, 2010 2:35 pm

Postby stozher » Thu Dec 30, 2010 6:47 pm

Check existing locales with:

locale -a
http://music.stozher.com:8080/login.view?user=guest&password=
User avatar
stozher
 
Posts: 313
Joined: Tue Nov 16, 2010 10:56 am
Location: Sofia, Bulgaria

Postby d4ftpuNK » Fri Dec 31, 2010 6:13 am

jari.j wrote:I had a similar problem with Ubuntu 10.04 server and WinXP and Android clients, but adding

LC_CTYPE=$LANG
LANG=$LANG

to the beginning of /etc/init.d/subsonic after PATH, DESC, etc. and restarting Subsonic server solved it. No problem whatsoever with åäö any more.


this worked for me
d4ftpuNK
 
Posts: 1
Joined: Fri Dec 31, 2010 6:12 am

Postby lambda » Sat Jan 01, 2011 3:52 pm

lambda wrote:I had this working at one point, but I've done a new installation of Subsonic on a little nettop running 10.04 LTS, and I can't get folders with international characters to show up, despite putting export LANG and export LC_CTYPE in all the pertinent files (/usr/share/subsonic/subsonic.sh, /etc/init.d/subsonic, etc.) Anything else I'm forgetting?


Got this working - I think on LC_CTYPE maybe you need quotes? Anyway, never mind.
lambda
 
Posts: 8
Joined: Wed Sep 08, 2010 2:35 pm

Asian Characters....

Postby mcmillanje » Tue Jan 04, 2011 5:31 am

All my Korean and Japanese Music, the titles of which I just spent hours converting into <asian name> (English name) naming scheme.... :(


lol... anyways, nautilus (gnome (ubuntu(linux))) sorts this stuff by putting -all asian char- names after z, and those with asian char+roman char by their first english character.

Couldn't something be implemented in subsonic? any fix, other than undoing all my hard re-naming / re-tagging?
mcmillanje
 
Posts: 14
Joined: Sat Dec 25, 2010 4:18 am

Postby jonlai9 » Sun Apr 03, 2011 3:32 pm

I'm trying to get this working but I don't have /etc/init.d or /etc/default folders... help!
jonlai9
 
Posts: 10
Joined: Sun Mar 20, 2011 5:01 am

Postby jonlai9 » Wed Apr 06, 2011 3:23 pm

bump...

Anyone? :(
jonlai9
 
Posts: 10
Joined: Sun Mar 20, 2011 5:01 am

Postby jonlai9 » Tue Apr 12, 2011 7:31 pm

bump...
jonlai9
 
Posts: 10
Joined: Sun Mar 20, 2011 5:01 am

Postby jonlai9 » Sat Apr 23, 2011 2:10 am

bump...
jonlai9
 
Posts: 10
Joined: Sun Mar 20, 2011 5:01 am

Postby jonlai9 » Fri Apr 29, 2011 7:41 pm

bump...
jonlai9
 
Posts: 10
Joined: Sun Mar 20, 2011 5:01 am

Re: International character problem

Postby ch604 » Thu Jun 13, 2013 1:35 pm

I use the standalone version of subsonic and had the same issue: files with unicode characters would 'show up' in subsonic, but were all ???s and would not play. My server's locale was set to "C" for some reason instead of en_US.UTF-8. I added this line to /var/subsonic/subsonic.sh:

export LANG=en_US.UTF-8

just before the start of the big block of ${JAVA} functions at the bottom and after the home directory is created, about line 113 on my startup script. Now I can see and play files with unicode characters in the filename :D
ch604
 
Posts: 3
Joined: Thu Jun 13, 2013 1:31 pm

Re: International character problem

Postby theirongiant » Mon Feb 10, 2014 9:12 pm

ch604 wrote:I use the standalone version of subsonic and had the same issue: files with unicode characters would 'show up' in subsonic, but were all ???s and would not play. My server's locale was set to "C" for some reason instead of en_US.UTF-8. I added this line to /var/subsonic/subsonic.sh:

export LANG=en_US.UTF-8

just before the start of the big block of ${JAVA} functions at the bottom and after the home directory is created, about line 113 on my startup script. Now I can see and play files with unicode characters in the filename :D


This did not solve my problem. I am running Subsonic 4.9 on a Debian system (Dreamhost Virtual Private Server). I added the line as directed, restarted the subsonic service, but tracks with unicode characters are not working.
theirongiant
 
Posts: 1
Joined: Mon Feb 10, 2014 9:04 pm

Previous

Return to Help

Who is online

Users browsing this forum: No registered users and 14 guests