²



Copy to Clipboard

SUPERSCRIPT TWO

General information

ID 178
HEX b2
Char ²
Unicode name SUPERSCRIPT TWO
Char type LETTER NUMBER
Unicode group Latin-1 Supplement
Unicode Code Point U+B2

Conversion (How to escape ²)

HTML Entity (name) ²
HTML Entity (decimal) ²
HTML Entity (hex) ²
URL Encoded %B2
C / C++ / Java "\uB2"
Javascript (UTF-16) "\u00B2"
Javascript "\u{B2}"
Python u"\uB2"
CSS \B2
CSS \0000B2

How to type ²

Microsoft Windows ALT code Alt + 0178
Microsoft Office write b2 then press Alt + X
Microsoft Office (alternative) write U+b2 then press Alt + X
Apple Mac Hold Alt, type B 2 then release
Apple Mac (alternative) Hold Option, type B 2 then release

UTF Encodings

UTF-8 (hex) 0xB2
UTF-8 (octal) 262
UTF-8 (binary) 10110010
UTF-16 (hex) 0x00B2
UTF-16 (decimal) 178
UTF-32 (hex) 0x000000B2
UTF-32 (decimal) 178