Re: accented characters on us keyboard

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Aug 04, 2004 at 06:08:15PM +0200, Anand Buddhdev wrote:
> 
> I'm using a Trust keyboard (101 keys), US layout, but with the Euro 
> symbol printed on the digit 5. When installing, I chose "us keyboard". 
> Under this setup, the Euro symbol is not available.
...
> Would a kind soul please help me achieve what I want?

I was expecting a non US person to comment on this.

Do go to redhat.com and search for a more compete answer
than I can give.

I found a number of old and new discussions:
  http://www.redhat.com/archives/enigma-list/2002-January/msg00142.html

Search for Euro, euro, LANG and LC_ALL i18n xmodmap and the like.
There is a Debian-Euro-HOWTO.
Do not ignore Google search in addition to a RedHat search.

The key to success will be attention to language and fonts.
In the above URL I see:

    You need to make sure /etc/sysconfig/i18n has fr_BE euro or nl_BE euro
> locale, make sure $LC_ALL or $LANG if no $LC_* is set are set to that
> before you start X (or before you start particular terminal or whatever).

Remember that you might be embarking on multi-byte character land
and that some things will work correctly for you and not the viewer.

If I cut and paste this might look right to you...

  euro symbol "%GÃïï%@" and the cents "Â".

I cut and paste the above in a vim window and I can see
the euro (LANG=en_US.UTF-8) but it looks like modem noise in 
this 8 bit character emacs window.

$ od -xc /tmp/garp
...
0000040 206f 616d 656b 7420 6568 6520 7275 206f
          o       m   a   k   e       t   h   e       e   u   r   o
0000060 7973 626d 6c6f 2220 82e2 22ac 6120 646e
          s   y   m   b   o   l       " 342 202 254   "       a   n   d
0000100 7420 6568 6320 6e65 7374 2220 a2c2 2022
              t   h   e       c   e   n   t   s       " 302 242   "
0000120 6e6f 2c65 6120 746c 6f68 6775 2068 6874
          o   n   e   ,       a   l   t   h   o   u   g   h       t   h
0000140 0a65 0a0a
          e  \n  \n  \n
0000144

Most interestingly as I searched for info I would see one posting in
my browser that displayed the euro correctly then that same quoted
text in a follow up displayed the previous Euro char incorrectly.

  http://www.redhat.com/archives/enigma-list/2002-January/msg00227.html

I also saw a posting where ~/.gno*/gdm file was overriding the $LANG
variable in the environment.  If this person was using kdm things were
ok and if gnome things were not.   

Note that mail and other documents can contain hints and escapes for
language encoding.  Things like

    X-Accept-Language: en-us, en
    Content-Type: text/plain; charset=iso-8859-1
    Content-Type: text/html; charset="ISO-8859-1"
    Content-Type: text/plain; charset=iso-8859-13
    From: =?iso-8859-1?q?Bob=20Fred?=

Interesting stuff.....

It may also prove hand to save a document that you
have cut and paste assorted characters in and recall
tricks like "man iso-8859-1"





-- 
	T o m  M i t c h e l l 
	Just say no to 74LS73 in 2004



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux