Bugzilla – Bug 141567
Compose key not working with danish characters with en_US.UTF-8
Last modified: 2006-01-05 14:21:30 UTC
I always use us keyboards with my computers, and I recently got a new laptop where I chose to use the compose key in X to type the danish characters. However, with the default setup, only 'æ' (ae) worked. 'å' (aring) and 'ø' (oslash) didn't work. If I switch to en_US.iso8859-1 instead it works as expected.
/usr/X11R6/lib/X11/locale/en_US.UTF-8/Compose: [...] <Multi_key> <o> <a> : "å" U00E5 # LATIN SMALL LETTER A WITH RING ABOVE [...] <Multi_key> <slash> <o> : "ø" U00F8 # LATIN SMALL LETTER O WITH STROKE Works for me. Maybe you did use it in the different order ("... <a> <o>" and "... <o> <slash>") which is not specified in the UTF-8 compose file and only in the Latin1 Compose file?
Could be, I'll retry that when I'm one my notebook. But isn't it then a bug that the compose sequences aren't the same? Why would it be compose a + a in iso8859-1 and compose o + a in utf (and similar for oslash)?
You can call it a bug. I prefer to call it a change. :-) The en_US.UTF-8 Compose file is a (nice) try to merge all the Compose files for the legacy encodings, which is/was not easy because of many conflicts. :-( Therefore I recommend to most people, which use the Compose mechanism, to use a user Compose file instead and adjust it to your needs. --> $HOME/.XCompose Most users begin with an empty Compose file, which makes starting of X programs even faster. :-) Is this something you can live with?
Yes. ~/.XCompose would be perfect, I wasn't aware that this option existed! I trust I just fill mirror what the locale/xxx/Compose file contains, eg add my 3 characters to what I want? I'll resolve this bug as WONTFIX then.
> Yes. ~/.XCompose would be perfect, I wasn't aware that this option existed! Sure. Nearly nobody knows it. > I trust I just fill mirror what the locale/xxx/Compose file contains, eg add > my 3 characters to what I want? Exactly. :-)
Great thanks Stefan, that even allows me to define much better compose sequences for these three (often used in dk mails) characters.