Mombu the GNU Linux Forum sponsored links

Go Back   Mombu the GNU Linux Forum > GNU_Linux > Character map mixed up
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 26th February 20:43
dave farrance
External User
 
Posts: 1
Default Character map mixed up



My Mandriva-2006 setup seems to be confused between the ISO-8859-1 and
ISO-8859-15 character maps. In GUI mode, the character map varies from
one app to the next, and in some, if I type "right-win-key 1 2" which
should give me 1/2, I get the oe ligature instead.

To get down to basics, this is what I get in console mode (init 3):

$ echo LANG
en_GB [yes, I'm in the UK]

$ echo -e "\275"
½ [that shows the oe ligature]

$locale charmap
ISO-8859-1 [so why oe and not 1/2 above?]

$ cat /etc/sysconfig/keyboard
XkbModel=pc105
KBCHARSET=iso-8859-15
KEYBOARD=uk
KEYTABLE=uk

Any idea what I should look at next?

--
Dave Farrance
  Reply With Quote


  sponsored links


2 27th February 18:36
peter d.
External User
 
Posts: 1
Default Character map mixed up



No, but I can show you my results.

echo -e "\275"

gives me 1/2 in Konsole and oe on the terminal ctl-alt-F1


--
Peter D.
Sig goes here...
  Reply With Quote
3 27th February 18:36
dave farrance
External User
 
Posts: 1
Default Character map mixed up


Thanks. What's your country for locale and keyboard?

--
Dave Farrance
  Reply With Quote
4 27th February 18:37
peter d.
External User
 
Posts: 1
Default Character map mixed up


In Konsole... [c17] /mnt/hda2/2006/downloads
->urpmi.save .
0 files in /var/cache/urpmi/rpms
total 0
The package(s) are already installed
0 files in /var/cache/urpmi/rpms total 0 [c17] /mnt/hda2/2006/downloads
->echo $LANG en_AU [c17] /mnt/hda2/2006/downloads
->locale charmap ISO-8859-1 [c17] /mnt/hda2/2006/downloads
->echo -e "\275" ½ [c17] /mnt/hda2/2006/downloads
->cat /etc/sysconfig/keyboard
KBCHARSET=C KEYBOARD=us KEYTABLE=us [c17] /mnt/hda2/2006/downloads
->

Same results for root and user. Konsole is configured
as Western European. I'm using Mdk 2006.0 with all
updates.

On psuedo terminals alt-ctr-F1 as root or user everything
was the same except for oe instead of 1/2. On ctl-alt-F2
as root or as a user I got a square!


--
Peter D.
Sig goes here...
  Reply With Quote
5 27th February 18:55
dave farrance
External User
 
Posts: 1
Default Character map mixed up


Thanks. It seems that the text-mode console uses ISO-8859-15 for all
locations, perhaps because the kernel was compiled in France.

At least your locale charmap and KBCHARSET are consistent. "C" meaning
default charmap, which I believe is ISO-8859-1.

What do you get if you try entering ligatures in gtk apps like Firefox?
If you call up the Google form and type "right-winkey o e", does that
work? How about "right-winkey 1 2"? Only o-e works for me.

If I open a text file with gedit, it treats the characters as
ISO-8859-1 when it opens a file. But then it only lets me enter
ISO-8859-15 characters via the keyboard. Then it complains about the
characters when I try to save the file.

--
Dave Farrance
  Reply With Quote
6 28th February 06:05
peter d.
External User
 
Posts: 1
Default Character map mixed up


It is not hard to recompile a kernel - just time consuming.

I assume that you mean "hold the right-winkey down and tap
the 'o' and then the 'e'" not "search on that string".

With the US keyboard map (we generally use US layout keyboard
in Australia) I get 'o's, 'e's, '1's and '2's. There used
to be an international US map in previous versions of Mandr*
but I can't see it now. With the UK map I get an 'o' with a
line through it an ordinary 'e' and superscript '1's and '2's.

Maybe your editor is independently configurable with respect to
keymaps.

It is all a great mystery that I have never had to solve.


--
Peter D.
Sig goes here...
  Reply With Quote
7 28th February 16:18
dave farrance
External User
 
Posts: 1
Default Character map mixed up


Ah, no. Press right-winkey once, then press 'o', then press 'e'.

--
Dave Farrance
  Reply With Quote
8 28th February 17:25
peter d.
External User
 
Posts: 1
Default Character map mixed up


This is getting far more convoluted than I expected. I installed
the bug fix updates for KDE a day or two ago. Now when I use
Firefox to go to google.com.au and type things into the
search bar this is what happens with with either the US or GB
keymaps selected.

It does not matter whether I hold down the right-win key
or just tap it first. 'o' then 'e' give a ligature and
'1' then '2' does not seem to do anything.

Basically, I don't have a clue how this works.


--
Peter D.
Sig goes here...
  Reply With Quote
Reply


Thread Tools
Display Modes




Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666