4

U+0034 DIGIT FOUR

Basic Latin · Decimal digit

NameDIGIT FOUR
Code pointU+0034
Decimal52
BlockBasic Latin
CategoryDecimal digit (Nd)
UTF-834
UTF-160034
UTF-3200000034
HTML4 4
CSS\0034
JavaScript\u0034
Python\u0034
URL-encoded%34
Numeric value4

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.

Nearby entries