How do I type the Spanish inverted question mark in Emacs?
Solution 1:
Answering our own questions is encouraged, so here we go:
In any Windows editor or text box
Source: here
Hold Alt and type a number corresponding to the char code.
To use the decimal Unicode value, prefix the number with a zero, example: Alt 0191
To use the decimal windows code page value, prefix the number with a zero, example: Alt 161
According to source, you can also type the Unicode hex value, but that needs an entry in registry and did not work for me.
-
Inverted question mark (¿):
- Alt 0191
- Alt 168
- Alt +00A1
-
Inverted exclamation mark (¡):
- Alt 0161
- Alt 173
- Alt +00BF
In Emacs
Source: xahlee's Emacs page.
- Inverted question mark (¿):
- C-x 8 ?
- Inverted exclamation mark (¡):
- C-x 8 !
You can also use function ucs-insert (M-x ucs-insert
or C-x 8 RET
) and Emacs will request a hex value to insert the character.
Or set the input method (M-x set-input-method
) to ucs and type normally. To insert a Unicode char, type u
.