[Om2008.9] Spanish Illume keyboard (was: Call for Illume keyboardsand keyboard icons)
Carsten Haitzler (The Rasterman)
raster at rasterman.com
Fri Jan 2 12:30:19 CET 2009
On Fri, 2 Jan 2009 11:28:17 +0100 Matthias Apitz <guru at unixarea.de> babbled:
> El día Friday, January 02, 2009 a las 09:12:43PM +1100, Carsten Haitzler
> > On Fri, 2 Jan 2009 21:00:36 +1100 Carsten Haitzler (The Rasterman)
> > <raster at rasterman.com> babbled:
> > gah! replying to myself.. found out why...
> > you file was NOT UTF-8~ it was iso8859! no no! MUST BE UTF-8!
> > attached fixed file - in utf8. works fine.
> Nop. I've installed your file and restarted the Xserver;
> if you select CAPS mode, then hit the capital Ñ (Ntilde) it appears as
> capital Ñ in the line and waits for further completion, if you now hit
> this Ñ it is moved to the SMS buffer as small ñ (ntilde).
i'm getting capitals.. actually ok - the 2nd time i do it it is. not the first.
i think the utf8 normalization that florian did has some issues i think.
and yes - it you use quotes it goes via the dictionary lookup and works better
- the problem is needing to know what shift plus the 'ñ' key does. as such the
code does a lookup of keyboard maps - for keymaps that have a/A on a key this
works. as does 4/$ etc. for shift and caps - the problem is.. you have no
keyboard with normal ñ key - and thus x doesn't KNOW that shift + ñ == Ñ - it
has no idea, so you get a small. the string version can encode the
capitalisation but simply shift + keysym doesnt end up producing a capitalised
version in x's view of the keyboard world. (unlike shift + a == A).
so now illume needs a hard-coded table of this stuff that x doesn't know to
basically bypass x. and as such such a table or infra doesn't exist - so you're
stuck until it does. x's internal "table" doesnt have this. :)
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler) raster at rasterman.com
More information about the community