Fedora, unicode, console

James Wilkinson james at westexe.demon.co.uk
Sat Sep 4 20:46:15 UTC 2004


Tero Niemela wrote:
> is it possible to enter unicode (UTF-8) chars in
> console with FC2 (or FC3t1)? If so, could you please
> spell the correct font, keymap, locale setting,
> entries in /etc/sysconfig/i18n, shell (bash or zsh)
> configuration, editor (emacs or vim) configuration etc
> to get UTF-8 enabled in console?

It should just work. Note, however, there are very few fonts that have
*all* the Unicode characters: Fedora has chosen a good one, but you will
do much better in X, since most of the work is aimed at graphical
interfaces. You may also find that if you have a particular language in
mind, there will be one that is better at that particular purpose.

> And since my keyboard
> has not all UTF-8 chars, how those seldomly used chars
> should be entered?

Well, in vim, if you know the Unicode reference, try
Ctrl-V u 1234
(no spaces, and that should be typed in insert mode).

Try http://www.unicode.org/charts/ for references

For example, this line was typed into the console:
ĂăőŒœű÷
and this one into vim in the Gnome terminal:
αβγ⌕⌖≗♫̓⊖

(That's going to give a lot of people's mail readers a good work-out!)

If it's an unusual language, you could try switching your keymap
appropriately.

James.

-- 
E-mail address: james | DON'T be put off by "horror stories" spread by
@westexe.demon.co.uk  | others.  People who talk about death and serious
                      | injury are very rarely the ones who have actually
                      | suffered such things.  -- Adrian Plass





More information about the fedora-list mailing list