OpenVZ Forum


Home » General » Support » Console charset
Console charset [message #35567] Sun, 05 April 2009 14:41 Go to previous message
laotse is currently offline  laotse
Messages: 35
Registered: December 2008
Member
Hi there,

is there a way to tell a container to use utf-8 as charset in the default "-bash" used for vzctl enter?

My native locale would be de_DE.utf8, which is configured as default on the node and works perfectly.

node#: echo "Süß"
Süß
node#: vzctl enter VE
VE#: <enter some umlaut, but nothing or strange things happen>
VE#: export LANG=de_DE.utf8
VE#: bash
VE#: echo "Süß"
Süß

So basically the container has everything installed what it takes to deal with UTF-8. However, "-bash" reports POSIX as locale and even after setting LC_LANG does not accept umlauts or does display them correctly. The child bash works as expected.

Of course /etc/default/locales contains the correct setting, but it is apparently ignored by "-bash".

Is this a bug or a feature? Is it possible to change this behaviour?

Er well, systems both node and VE are Debian Lenny current as per today.

Regards,
- lars
 
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 20:08:26 GMT 2024

Total time taken to generate the page: 0.02259 seconds