How do I type the Spanish inverted question mark in Emacs?

11,904

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.

  1. Inverted question mark (¿):
  • C-x 8 ?
  1. 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.

Share:
11,904
Leonel
Author by

Leonel

Updated on September 17, 2022

Comments

  • Leonel
    Leonel over 1 year

    I want to write in Spanish without having to keep Charmap open! How do I type the Spanish inverted question and exclamation marks?

    ¡Quiero escribir en Castellano sin usar el charmap! ¿Cómo escribo los signos de interrogación y exclamación?

    • How do I type these characters in Emacs?
    • How do I type them in any general input box in Windows?
  • Leonel
    Leonel over 13 years
    What about the exclamation marks ?
  • David Knapp
    David Knapp over 13 years
    Alt 173 (Follow link. Enter 'INVERTED EXCLAMATION MARK' in searchbox.)
  • DMA57361
    DMA57361 over 13 years
    Looks comprehensive to me, have +1. Mine was a bit brief as I was on the way out of the office and thought it would be better than nothing, hope it helped!
  • Leonel
    Leonel over 13 years
    It did! Thanks for your time and for linking to the website. Many thanks !