Default character encoding.
erikd at erikd.se
erikd at erikd.se
Thu Jul 10 10:45:16 UTC 2008
Hello members of the list.
I've been using ubuntu for a day or so, and I have a problem I can't seem
to get rid of.
My default character encoding is set to UTF-8, which I don't really want.
In most apps, such as firefox, it is easy to specify, but for the terminal
itself that seems to be impossible. Every time I start a new terminal, it
uses the system locale which is UTF-8. I can change it manually to
ISO-8859-1, but that's no fun.
I've googled for a while and found a number of solutions, none really
working for me. I've tried
sudo locale-gen sv_SE.ISO-8859-1
sudo dpkg-reconfigure locales
And I can see that sv_SE.ISO-8859-1 is up-to-date.
I've tried setting LANG and LANGUAGE in /etc/environment.
I also tried adding LANG=sv_SE.ISO-8859-1 to /etc/default/locale, and to
my .bashrc.
I've managed to change the language of the system, making it print in
Swedish instead of English, but that's not what I want. The terminal still
uses UTF-8 though, not ISO-8859-1 as I want it to.
Regards
Erik
More information about the ubuntu-users
mailing list