I'd never heard of Alt combos to emit characters

That's quote common on non-US keyboard layouts. The right Alt key is labeled "Alt Gr" on German keyboards, and it is needed for a lot of characters:

KeyCharacter with Alt Gr
2"²
³
7/{
8([
9)]
0=}
ß?\
Q@
E€ ("new" since about 2002)
+*~
<>|
Mµ

That's the layout used by Windows, and printed on the keycaps. It is called "T1" in the DIN2137-1 2012-06. You can also find these mappings on Linux, which usually adds some extra mappings not printed on the keycaps. There is an extended German keyboard layout called "T2" that I have never seen in the wild, compatible to "T1", but with extra characters on any character key. MacOS is a different beast.

And yes, using the German layout can be annoying to use when writing code in languages derived from C, about half of the characters you need have to be typed using the "Alt Gr" key.

Many, but not all PC operating systems accept any Ctrl key + left Alt key as a substitute for the "Alt Gr" key. Windows 2000 and newer do, MS DOS up to at least 6.22 does not. Maybe this was added for some small keyboards lacking the "Alt Gr" key.

Things get interesting with other layouts. The Swiss keyboard layout (https://en.wikipedia.org/wiki/File:KB_Swiss.svg) comes in two variants, Swiss German and Swiss French. Both variants are identical except for the three keys responsible for ä, ö, ü and à, é, è. The Swiss German layout has äöü in the unshifted state and needs shift for àéè, on the Swiss French layout, it is the exact opposite (äöü need Shift, àéè don't). Uppercase ÄÖÜ and ÀÉÈ aren't available, neither is ß (not used in Swiss German).

See also the wikipedia pages German keyboard layout and Keyboard layout, and of course the exhaustive list of usages in AltGr key.

Alexander

--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)

In reply to Re^9: X11::GUITest and Umlauts by afoken
in thread X11::GUITest and Umlauts by LanX

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.