Page 1 of 1

international / non-Latin character issue [SOLVED]

PostPosted: Tue Jun 03, 2014 7:52 pm
by beerhoof
License Subsonic Premium
Version 4.9 (build 3819) – January 23, 2014
Server jetty-6.1.x, java 1.8.0, Linux (60.1 MB / 113.6 MB)

No salient errors in log

Running stand alone version on an arch Linux install I made a couple weeks ago on a pi. Java 1.8 for ARM. I run the startup script as a user. This user is in group with rwx permissions to ntfs hdd which is in fstab with options: defaults, auto, locale=en_US.UTF-8

Set my system wide locale to en_US.UTF-8:

As root: localectl set-locale LANG="en_US.UTF-8"

After uncommenting that locale in locale.gen

Rebooted and started SS: Bruce Springsteen's I'm on fire still shows up as I???m on fire and is unplayable. In shell the apostrophe shows up just fine.

Followed here: viewtopic.php?t=3972
And here:
viewtopic.php?t=8254

Edited subsonic.sh to include:

export LANG="en_US.UTF-8"
export LC_CTYPE="en_US.UTF-8"

After playlist folder setting.

Rebooted, started subsonic, did a manual update of directories/index and still get the ?'s

Tried the above without quotes around en_US... And still the ?'s. Deleted the folder entry, rebooted, started subsonic, and added the folder: still the ?'s.

What am I doing wrong? I'd like to be able to play my songs with apostrophes and international characters.

SOLVEDIT:

not exactly sure what when on and didn't have time to do step by step troubleshooting. nonetheless here's what I did:

removed the locale=... setting from my fstab ntfs hdd mounts
deleted the subsonic db folder
followed: https://wiki.archlinux.org/index.php/be ... ide#Locale verbatim
tested this using by typing 'locale' and 'echo $LANG' with all users
ensured that this:

export LANG="en_US.UTF-8"
export LC_CTYPE="en_US.UTF-8"

appeared after SUBSONIC_DEFAULT_PLAYLIST_FOLDER=/var/playlists

in my startup script (subsonic.sh)
fired up subsonic with a test directory only containing that there Bruce Springsteen album
woop fixed.