You are not logged in.

#1 2008-06-23 10:18:04

RAH
Member
Registered: 2008-06-20
Posts: 205

[SOLVED] Characters

Hello,

My at symbol turns out as "
My GBP symbol turns out as #

How do I fix the character encoding?  I already have it set to UK.

Thanks.

Last edited by RAH (2008-06-23 16:23:23)

Offline

#2 2008-06-23 10:20:05

Ramses de Norre
Member
From: Leuven - Belgium
Registered: 2007-03-27
Posts: 1,289

Re: [SOLVED] Characters

RAH wrote:

Hello,

My at symbol turns out as "
My GBP symbol turns out as #

How do I fix the character encoding?  I already have it set to UK.

Thanks.

Keyboard layout?
Try this in xorg.conf:

Section "InputDevice"
    Identifier    <fill in yours>
    Driver    "kbd"
    Option    "CoreKeyboard"
    Option    "XkbRules" "xorg"
    Option    "XkbModel" "pc105"
    Option    "XkbLayout" "uk"
EndSection

Maybe it neads a little tweaking for you.

Offline

#3 2008-06-23 10:42:58

RAH
Member
Registered: 2008-06-20
Posts: 205

Re: [SOLVED] Characters

That fixed the @ issue but the GBP symbol is now coming out as 3.

Offline

#4 2008-06-23 12:55:35

Doc Angelo
Member
From: Germany
Registered: 2007-11-28
Posts: 52

Re: [SOLVED] Characters

What is GBP?

Offline

#5 2008-06-23 12:57:49

RAH
Member
Registered: 2008-06-20
Posts: 205

Re: [SOLVED] Characters

Doc Angelo wrote:

What is GBP?

Great British Pounds - Pound Sterling - £

Offline

#6 2008-06-23 13:13:16

INCSlayer
Member
From: Sweden
Registered: 2007-09-06
Posts: 296
Website

Re: [SOLVED] Characters

test the conf with a "gb" instead of "uk" in XkbLayout


dovie andi se tovya sagain

Offline

#7 2008-08-11 21:47:20

vicayres
Member
From: Buckie, Scotland
Registered: 2005-10-06
Posts: 9

Re: [SOLVED] Characters

RAH wrote:

That fixed the @ issue but the GBP symbol is now coming out as 3.

You need to run

xmodmap -pke >.xmodmaprc

Next edit .xmodmaprc and delete everything but the line
keycode 12=3
and edit this line to read
keycode 12=3 sterling

Now you run

xmodmap .xmodmaprc

Of course, you should set this to autorun but I think the way of doing this depends on the DE/WM you are using.

Offline

#8 2008-08-12 21:20:08

vicayres
Member
From: Buckie, Scotland
Registered: 2005-10-06
Posts: 9

Re: [SOLVED] Characters

I know this thread is a couple of months old but for the sake of those searching in the future, I've just discovered that xmodmap isn't needed.

Edit /etc/X11/xorg.conf

In

Section "InputDevice"
                Identifier "Keyboard0" # or "Keyboard1", etc
                Driver "kbd" # not "keyboard"
                Option "XkbRules" "xorg"
                Option "XkbModel" "pc105"
                Option "XkbLayout" "gb" # not "uk"

I knew that, back in XFree86 days, "uk" was a Ukrainian keyboard and "gb" the British one. I wrongly assumed that this had changed.

Offline

Board footer

Powered by FluxBB