FAQ  •  Register  •  Login

UTF-8 and still cannot see files with special chars

<<

knyckis

Serviio newbie

Posts: 2

Joined: Tue Oct 04, 2011 10:18 pm

Post Mon Oct 10, 2011 9:11 pm

UTF-8 and still cannot see files with special chars

Hello,

I have an Ubuntu server installation of serviio that is working like a charm, except that I cannot see any files that include special characters, which are quite a lot since I am Swedish and have a lot of special chars all over. This is a common problem mentioned in the FAQ (http://www.serviio.org/component/content/article/21#q9) and the solution is claimed to be "make sure your system locale / default character set is set to UTF-8":

But my system is telling me that I am using UTF-8:
***
~$ locale
LANG=en_GB.UTF-8
LANGUAGE=en_GB:en
LC_CTYPE="en_GB.UTF-8"
LC_NUMERIC="en_GB.UTF-8"
LC_TIME="en_GB.UTF-8"
LC_COLLATE="en_GB.UTF-8"
LC_MONETARY="en_GB.UTF-8"
LC_MESSAGES="en_GB.UTF-8"
LC_PAPER="en_GB.UTF-8"
LC_NAME="en_GB.UTF-8"
LC_ADDRESS="en_GB.UTF-8"
LC_TELEPHONE="en_GB.UTF-8"
LC_MEASUREMENT="en_GB.UTF-8"
LC_IDENTIFICATION="en_GB.UTF-8"
LC_ALL=
***

Any ideas what to do?

All the best,
Nick
<<

norrgrd

Streaming enthusiast

Posts: 23

Joined: Mon Oct 10, 2011 10:42 pm

Post Sat Oct 15, 2011 11:19 pm

Re: UTF-8 and still cannot see files with special chars

Try to change it into sv_SE.UTF-8 instead

sudo apt-get install language-pack-sv

export LC_ALL=sv_SE.utf8

If the above doesn't work after a reboot you can try this aswell

Take a look at what locales are supported (Swedish utf8 most probably is, but to be sure)

cat /usr/share/i18n/SUPPORTED

You will most probably find
sv_SE.UTF-8 UTF-8
sv_SE ISO-8859-1

Copy/write down their names and then

nano /var/lib/locales/supported.d/local

Add the locales you have entered in that list and then rebuild your locales by doing

dpkg-reconfigure locales

Good luck!
<<

phn2

User avatar

Serviio lover

Posts: 77

Joined: Tue Jan 04, 2011 10:53 pm

Post Sat Jun 09, 2012 2:17 pm

Re: UTF-8 and still cannot see files with special chars

Hi.

Done the above, but in danish, but after restart the server will not display the danish letters. It works until reboot?
Using turnkey linux as OS, think its ubuntu.
Any ideas to make the language stick?
<<

phn2

User avatar

Serviio lover

Posts: 77

Joined: Tue Jan 04, 2011 10:53 pm

Post Sat Jun 09, 2012 2:25 pm

Re: UTF-8 and still cannot see files with special chars

root@fileserver /media/MUSIK# sudo apt-get install language-pack-da
Reading package lists... Done
Building dependency tree
Reading state information... Done
language-pack-da is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 37 not upgraded.
root@fileserver /media/MUSIK# export LC_ALL=da_DK.utf8

When writing that last line in terminal, the danish letters show up, after cd'ing back to the appropiate path?
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sat Jun 09, 2012 3:55 pm

Re: UTF-8 and still cannot see files with special chars

you might get more help in specialized Linux forum
<<

phn2

User avatar

Serviio lover

Posts: 77

Joined: Tue Jan 04, 2011 10:53 pm

Post Fri Sep 28, 2012 7:13 pm

Re: UTF-8 and still cannot see files with special chars

Have gotten the utf in place, da_DK.utf stayes after reboot, but serviio will not pass on danish letters. I cant folders containing danish letters, even though they exist.
<<

phn2

User avatar

Serviio lover

Posts: 77

Joined: Tue Jan 04, 2011 10:53 pm

Post Sat Sep 29, 2012 7:46 am

Re: UTF-8 and still cannot see files with special chars

The files will not show up when using serviio mediabrowser either.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sat Sep 29, 2012 10:12 am

Re: UTF-8 and still cannot see files with special chars

is the utf-8 Locale set for the user running serviio?
<<

phn2

User avatar

Serviio lover

Posts: 77

Joined: Tue Jan 04, 2011 10:53 pm

Post Sat Sep 29, 2012 11:26 am

Re: UTF-8 and still cannot see files with special chars

I'm not that good in linux, but serviio is running on a headless ubuntu server. When using ssh to login to the server, the files with danish letters show up. When using mediabrowser from other pc, the tv or audioreciever the files dosnt show up. How do I check wich user is running Serviio?
<<

phn2

User avatar

Serviio lover

Posts: 77

Joined: Tue Jan 04, 2011 10:53 pm

Post Sat Sep 29, 2012 11:43 am

Re: UTF-8 and still cannot see files with special chars

the serviioprocess on the server is running under root.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sun Sep 30, 2012 12:02 pm

Re: UTF-8 and still cannot see files with special chars

ok, login as root and list all locales with

  Code:
locale -a


More details on setting it system wide: https://wiki.archlinux.org/index.php/Locale

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 46 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.