Default character encoding.
gurus.knugum at gmail.com
Thu Jul 10 18:39:21 UTC 2008
2008/7/10, Shizzle Cash <shizzlecash at gmail.com>:
> On Jul 10, 2008, at 5:45 AM, erikd at erikd.se wrote:
> > 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
> While I'm not exactly sure why you *don't* want to use UTF-8 (since it
> is becoming the default, standard character set in all operating
> systems), you can change it by changing the file /etc/default/console-
> setup. In there you'll find the line 'CHARMAP="UTF-8"'. You can
> change it to the character map you wish. You might also need to
> change the 'CODESET' variable as well. I would suggest a restart
> after making the change.
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
I also want to know why on earth you don't want UTF-8. What can you possibly
do with ISO-8859-1 that you can not do with UTF-8? Is it that some
characters need more than one byte? I personally love the UTF-8 and I found
it quite handy the other month when I installed a font with musical symbols
(such as g-klav, coda, D.S., diverse notsymboler and other symbols which
English names I don't have a clue about…) and I found that I could use them
no matter what font I selected in, for example, OpenOffice.org.
Sorry for really bad English, but du är ju ändå svensk så det kvittar väl…
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ubuntu-users