2
U+0032 DIGIT TWO
Basic Latin · Decimal digit
| Name | DIGIT TWO |
|---|---|
| Code point | U+0032 |
| Decimal | 50 |
| Block | Basic Latin |
| Category | Decimal digit (Nd) |
| UTF-8 | 32 |
| UTF-16 | 0032 |
| UTF-32 | 00000032 |
| HTML | 2 2 |
| CSS | \0032 |
| JavaScript | \u0032 |
| Python | \u0032 |
| URL-encoded | %32 |
| Numeric value | 2 |
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.