2

U+0032 DIGIT TWO

Basic Latin · Decimal digit

NameDIGIT TWO
Code pointU+0032
Decimal50
BlockBasic Latin
CategoryDecimal digit (Nd)
UTF-832
UTF-160032
UTF-3200000032
HTML2 2
CSS\0032
JavaScript\u0032
Python\u0032
URL-encoded%32
Numeric value2

Frequently asked questions

What is the character U+0032?

U+0032 2 is officially named DIGIT TWO. It belongs to the Basic Latin block and the category Decimal digit.

How do I type 2?

Windows (Word, WordPad): type 0032, then press Alt+X. Linux (GTK/IBus): Ctrl+Shift+U 0032, then Space. macOS: enable the “Unicode Hex Input” keyboard, hold Option and type 0032. Or simply copy it from this page.

How do I write 2 in HTML?

As a numeric character reference 2 (decimal) or 2 (hexadecimal). In UTF-8 documents you can also insert the character directly.

How is 2 encoded in UTF-8?

In UTF-8 the character takes 1 bytes: 32. In UTF-16: 0032.

Nearby entries