Page 1 of 1
		
			
				UTF-8 and still cannot see files with special chars
				
Posted: 
Mon Oct 10, 2011 9:11 pm 
				by knyckis
				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
 
			 
			
		
			
				Re: UTF-8 and still cannot see files with special chars
				
Posted: 
Sat Oct 15, 2011 11:19 pm 
				by norrgrd
				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!
			 
			
		
			
				Re: UTF-8 and still cannot see files with special chars
				
Posted: 
Sat Jun 09, 2012 2:17 pm 
				by phn2
				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?
			 
			
		
			
				Re: UTF-8 and still cannot see files with special chars
				
Posted: 
Sat Jun 09, 2012 2:25 pm 
				by phn2
				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?
			 
			
		
			
				Re: UTF-8 and still cannot see files with special chars
				
Posted: 
Sat Jun 09, 2012 3:55 pm 
				by zip
				you might get more help in specialized Linux forum
			 
			
		
			
				Re: UTF-8 and still cannot see files with special chars
				
Posted: 
Fri Sep 28, 2012 7:13 pm 
				by phn2
				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.
			 
			
		
			
				Re: UTF-8 and still cannot see files with special chars
				
Posted: 
Sat Sep 29, 2012 7:46 am 
				by phn2
				The files will not show up when using serviio mediabrowser either.
			 
			
		
			
				Re: UTF-8 and still cannot see files with special chars
				
Posted: 
Sat Sep 29, 2012 10:12 am 
				by zip
				is the utf-8 Locale set for the user running serviio?
			 
			
		
			
				Re: UTF-8 and still cannot see files with special chars
				
Posted: 
Sat Sep 29, 2012 11:26 am 
				by phn2
				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?
			 
			
		
			
				Re: UTF-8 and still cannot see files with special chars
				
Posted: 
Sat Sep 29, 2012 11:43 am 
				by phn2
				the serviioprocess on the server is running under root.
			 
			
		
			
				Re: UTF-8 and still cannot see files with special chars
				
Posted: 
Sun Sep 30, 2012 12:02 pm 
				by zip
				ok, login as root and list all locales with
More details on setting it system wide: 
https://wiki.archlinux.org/index.php/Locale