4 is the Unicode character FULLWIDTH DIGIT FOUR, code point U+FF14 (decimal 65300) in the Halfwidth and Fullwidth Forms block, added in Unicode 1.1. In HTML write 4, and in UTF-8 it is the 3 bytes EF BC 94.
Codes
| Where | How to write it |
|---|---|
| Code point | U+FF14 |
| Decimal | 65300 |
| UTF-8 bytes | EF BC 94 |
| UTF-16 (big-endian) | FF14 |
| UTF-32 | 0000FF14 |
| HTML decimal | 4 |
| HTML hex | 4 |
| CSS | \FF14 |
| JavaScript | \uFF14 |
| JSON | \uFF14 |
| Python | \uFF14 |
| Python by name | \N{FULLWIDTH DIGIT FOUR} |
| Java, C# | \uFF14 |
| Rust, Swift | \u{FF14} |
| Go, C, C++ | \uFF14 |
| URL (percent-encoded) | %EF%BC%94 |
JavaScript and JSON strings store text as UTF-16, so this character is one code unit long. Python 3 strings count code points, so its length there is 1.
Properties
| Property | Value |
|---|---|
| Name | FULLWIDTH DIGIT FOUR |
| Code point | U+FF14 (decimal 65300) |
| Block | Halfwidth and Fullwidth Forms (U+FF00–U+FFEF) |
| General category | Nd: Decimal digit |
| Script | Common |
| Bidirectional class | EN: European number |
| Numeric value | 4 |
| Mirrored in right-to-left text | No |
| First in Unicode version | 1.1 |
Decomposition
FULLWIDTH DIGIT FOUR has a compatibility decomposition (wide) to the sequence below. NFKC and NFKD normalisation replace it with that sequence, which can change how text looks, so use them for search, not for storage.
Nearby in Halfwidth and Fullwidth Forms
- , U+FF0C Fullwidth Comma
- - U+FF0D Fullwidth Hyphen-Minus
- . U+FF0E Fullwidth Full Stop
- / U+FF0F Fullwidth Solidus
- 0 U+FF10 Fullwidth Digit Zero
- 1 U+FF11 Fullwidth Digit One
- 2 U+FF12 Fullwidth Digit Two
- 3 U+FF13 Fullwidth Digit Three
- 5 U+FF15 Fullwidth Digit Five
- 6 U+FF16 Fullwidth Digit Six
- 7 U+FF17 Fullwidth Digit Seven
- 8 U+FF18 Fullwidth Digit Eight
- 9 U+FF19 Fullwidth Digit Nine
- : U+FF1A Fullwidth Colon
- ; U+FF1B Fullwidth Semicolon
- < U+FF1C Fullwidth Less-Than Sign
All 225 characters: Halfwidth and Fullwidth Forms.
Official reference
Questions people ask
- What is the HTML code for 4?
- Use 4 (decimal) or 4 (hex).
- What is the UTF-8 encoding of U+FF14?
- EF BC 94 (hex), 3 bytes. In a URL it is %EF%BC%94.
- How do I write U+FF14 in JavaScript or Python?
- JavaScript: \uFF14. Python: \uFF14.
Source
Unicode Character Database 18.0.0 (Unicode License v3); HTML entity names from the WHATWG HTML Standard (CC BY 4.0). The encodings above are computed from the code point and checked against Python's encoders. How the character looks depends on your fonts.
Legal entity
Devansh Yadav
Moradabad, Uttar Pradesh
Governing law: Courts at Moradabad, Uttar Pradesh
Phone: +91 8433475698
Legal: legal@analyzeit.in