Unicode filenames in Solaris

Need help? Post your questions here.

Moderator: moderators

Unicode filenames in Solaris

Postby hufman » Fri Aug 10, 2012 4:02 pm

I am running Subsonic in a Solaris zone and am running into issues with trying to use unicode characters in filenames. I am experiencing the same symptom as this post, but the fix isn't helping me.
I have tried changing the startup script to export the LANG and LC_ALL options, and "ps auxeww" shows that they are being passed to Java correctly. Those locales do show up in /usr/lib/locale. I tried adding the file.encoding property to the Java invocation, but that didn't help either. I've cleared the database and rescanned several times, but that doesn't change anything.
How do I enable debug logs to help track this down?

# ls /usr/lib/locale
C POSIX common de_DE.UTF-8 en_US.UTF-8 es_ES.UTF-8 fr_FR.UTF-8 it_IT.UTF-8 ja_JP.UTF-8 ko_KR.UTF-8 pt_BR.UTF-8 zh_CN.UTF-8 zh_TW.UTF-8

The full output from ps auxeww is:
java -Xmx256m -Dsubsonic.home=/var/subsonic -Dsubsonic.host=0.0.0.0 -Dsubsonic.port=4040 -Dsubsonic.httpsPort=0 -Dsubsonic.contextPath=/ -Dsubsonic.defaultMusicFolder=/var/music -Dsubsonic.defaultPodcastFolder=/var/music/Podcast -Dsubsonic.defaultPlaylistFolder=/var/playlists -Djava.awt.headless=true -verbose:gc -Dfile.encoding=UTF-8 -jar subsonic-booter-jar-with-dependencies.jar LD_LIBRARY_PATH=/usr/jdk/instances/jdk1.6.0/jre/lib/i386/server:/usr/jdk/instances/jdk1.6.0/jre/lib/i386:/usr/jdk/instances/jdk1.6.0/jre/../lib/i386 _=*17812*/usr/bin/java HOME=/home/subsonic LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LOGNAME=subsonic MAIL=/var/mail/subsonic PATH=/usr/bin:/usr/sbin PWD=/var/subsonic/standalone SHELL=/usr/bin/bash SHLVL=1 SUDO_COMMAND=/var/subsonic/standalone/subsonic.sh --max-memory=256 SUDO_GID=0 SUDO_UID=0 SUDO_USER=root TERM=xterm USER=subsonic USERNAME=subsonic A__z="*SHLVL
hufman
 
Posts: 1
Joined: Fri Aug 10, 2012 3:57 pm

Return to Help

Who is online

Users browsing this forum: No registered users and 17 guests