OpenVZ Forum


Home » General » Support » Console charset
Re: Console charset [message #35612 is a reply to message #35588] Wed, 08 April 2009 13:40 Go to previous messageGo to previous message
tonib is currently offline  tonib
Messages: 3
Registered: April 2009
Location: Slovenia
Junior Member
Lars, can you input umlaut when you loged as lars (or whatewer user name you have) and not as root?

When I loged as normal user I can input Č芚Žž.

Take a look at this example:

root@zatomija:/# echo $LANG

root@zatomija:/#
root@zatomija:/# su - toni
toni@zatomija:~$ echo $LANG
en_US.UTF-8
toni@zatomija:~$ echo "蚞ȊŽ"
蚞ȊŽ
toni@zatomija:~$ su
Password:
root@zatomija:/home/toni# echo $LANG
en_US.UTF-8
root@zatomija:/home/toni# echo "蚞ȊŽ"
蚞ȊŽ


So the whole thing is just about passing $LANG.

We must initially set right $LANG for root and we win.
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: kernel 2.6.27-openvz fails to compile
Next Topic: *SOLVED* openvz and trixbox
Goto Forum:
  


Current Time: Sun Jul 14 23:29:49 GMT 2024

Total time taken to generate the page: 0.02326 seconds