Re: Problem with console and locales
- To: email@example.com
- Subject: Re: Problem with console and locales
- From: Florian Kulzer <firstname.lastname@example.org>
- Date: Sun, 3 Feb 2008 15:46:24 +0100
- Message-id: <20080203144624.GA7634@pc0197>
- Mail-followup-to: email@example.com
- In-reply-to: <firstname.lastname@example.org>
- References: <email@example.com> <firstname.lastname@example.org> <email@example.com> <firstname.lastname@example.org> <20080122190506.GC13019@pc0197> <email@example.com> <firstname.lastname@example.org>
On Wed, Jan 30, 2008 at 21:03:30 -0200, Andres Migliazzo wrote:
> I have a similar question... I'm wondering if is doable to set up your
> debian system in English and read special characters (like á-ú,ñ) in the tty
Yes, that is possible. You need an English locale that allows you to
encode these characters and a font that contains the necessary symbols.
> I'm a TeX user and use to do a spelling check using aspell (#aspell
> -t -c file.tex --lang=es), but when I've to do texts in Spanish I'm not able
> to see the special characters because it's not supported by my system. For
> instance, instead of "Córdoba" you see "C rdoba), and when you use a file
> parser like more, you see funny characters in "ó" place.
The missing character in "C rdoba" suggests that your tty font does not
have the "ó" symbol. If you see more than one strange character in
"more" then you might furthermore have a mix-up between iso-8859-1 and
> Does anyone have a clue how to set up my system to achieve this?
Which locale do you use at the moment? Run "locale" to find out. I use
"en_US.UTF-8" and the console-setup package in combination with the
These are my settings in /etc/default/console-setup:
This gives me access to all the special characters used in Spanish, as
well as to other symbols (e.g. "ø") by means of the right-Windows key
which acts as a "compose" key. Of course, characters like ñ, ¿, ¡, º,
etc. can be entered directly by using their dedicated keys.
If you prefer to have "dead" accent keys (most of my Spanish colleagues
seem to like this configuration) then you can omit the XKBVARIANT=...
line. If you also use X on that machine then it is probably the best to
use the same keyboard configuration as under X. (The console-setup
configuration accepts the same definitions as the keyboard section of
Regards, | http://users.icfo.es/Florian.Kulzer