Console charset [message #35567] |
Sun, 05 April 2009 14:41 |
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
|
|
|