Re: Fedora, unicode, console

From: James Wilkinson (james_at_westexe.demon.co.uk)
Date: 09/04/04

  • Next message: Richard Whitney: "Re: SSH without password"
    Date: Sat, 4 Sep 2004 21:46:15 +0100
    To: fedora-list@redhat.com
    
    

    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
    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Richard Whitney: "Re: SSH without password"

    Relevant Pages

    • Re: Convert UTF-8 -> ANSI not via UTF-16?
      ... The conversion between UTF-8 and UTF-16 is really fast and if you are not using a language that is mostly 2 byte chars the file size savings can be pretty significant. ... I remember also we discussed this Unicode topic in previous posts on ...
      (microsoft.public.vc.mfc)
    • Re: Read UTF8 (mixed byte) file & convert to Unicode
      ... > I have a file which has no BOM and contains mostly single byte chars. ... > take the resulting Unicode and store it in a DB and display it onscreen. ... > session codepage, locale, thread culture are all set correctly for Japanese. ... that assumes that the file is *actually* in UTF-8. ...
      (microsoft.public.dotnet.general)
    • Re: How to read UTF-8 chars using VBA
      ... Sounds like you need to confirm that it really is in UTF-8 first. ... set to UTF-8, and Notepad displays the data correctly, maybe you could ... I have saved the file as Unicode and I tried UTF-8 format too. ... strConv...I tried everything but I am getting some junk chars ...
      (microsoft.public.vb.general.discussion)
    • Re: Unicode Delphi Win32 - which approach
      ... I like the backwards compatibility aspects of UTF-8 vs UTF-16. ... The first 256 Unicode characters map to the ANSI character set. ... entire stream> but calling an API 100 times in a loop I can imagine. ... and explicitly contextualise every string. ...
      (borland.public.delphi.non-technical)
    • Re: Unicode string libraries
      ... UTF-8 is the encoding that must be used ... I initially thought that the variable-length characters ... but also that UTF-8 didn't break when Unicode got extended ...
      (comp.programming)