What does Unicode code mean for "¿"?

7 answers

A quick google search for “unicode for an inverted question mark” led me to an article that said

The inverted question mark (¿) corresponds to the Unicode 191 code point (U + 00BF)

¿ɹoɟ buıʞoo ן ǝɹǝʍ noʎ ʇɐɥʍ ʇɐɥʇ sı

+18
source

If you want to get the Unicode value for a character, you can use this simple Javascript:

javascript:alert("¿".charCodeAt(0))

This will result in a warning about the Unicode value for the character. If you want to use it in HTML, the syntax is also # 191; (without a space between and and #), where 191 is the Unicode number of your character.

+15
source

Ubuntu gucharmap:

U+00BF INVERTED QUESTION MARK

General Character Properties

In Unicode since: 1.1
Unicode category: Punctuation, Other

Various Useful Representations

UTF-8: 0xC2 0xBF
UTF-16: 0x00BF

C octal escaped UTF-8: \302\277
XML decimal entity: ¿

Annotations and Cross References

Alias names:
 • turned question mark

Notes:
 • Spanish

See also:
 • U+003F QUESTION MARK
 • U+2E2E REVERSED QUESTION MARK

+2

If you know Java, you can print it as follows:

$ cat UnicodeTest.java  
public class UnicodeTest { 
    public static void main( String [] args )  { 
        System.out.println( ( int ) '¿' );
    }
}


$ javac -encoding UTF8 UnicodeTest.java  
$ java UnicodeTest
191

Answer 191

Java characters are unicode.

By the way, ¡This is not an inverted question mark! this is an “opening” question mark. It's just that not everyone uses it as "(" not up ").

+1
source

Unicode table may be useful 00A01F.

0
source

All Articles