4
U+0034 DIGIT FOUR
Basic Latin · Decimal digit
| Name | DIGIT FOUR |
|---|---|
| Code point | U+0034 |
| Decimal | 52 |
| Block | Basic Latin |
| Category | Decimal digit (Nd) |
| UTF-8 | 34 |
| UTF-16 | 0034 |
| UTF-32 | 00000034 |
| HTML | 4 4 |
| CSS | \0034 |
| JavaScript | \u0034 |
| Python | \u0034 |
| URL-encoded | %34 |
| Numeric value | 4 |
Frequently asked questions
What is the character U+0034?
U+0034 4 is officially named DIGIT FOUR. It belongs to the Basic Latin block and the category Decimal digit.
How do I type 4?
Windows (Word, WordPad): type 0034, then press Alt+X. Linux (GTK/IBus): Ctrl+Shift+U 0034, then Space. macOS: enable the “Unicode Hex Input” keyboard, hold Option and type 0034. Or simply copy it from this page.
How do I write 4 in HTML?
As a numeric character reference 4 (decimal) or 4 (hexadecimal). In UTF-8 documents you can also insert the character directly.
How is 4 encoded in UTF-8?
In UTF-8 the character takes 1 bytes: 34. In UTF-16: 0034.