Digit Four vs Number Sign
VS
Property Comparison
| Property | 4 0034 | # 0023 |
|---|---|---|
| Name | Digit Four | Number Sign |
| Category | Latin Extended | Latin Extended |
| Block | Basic Latin | Basic Latin |
| Script | Zyyy | Zyyy |
| General Category | Decimal Number (Nd) | Other Punctuation (Po) |
| Bidirectional | EN | ET |
Encoding Comparison
| Format | 0034 | 0023 |
|---|---|---|
| Unicode | U+0034 | U+0023 |
| HTML Decimal | 4 | # |
| HTML Hex | 4 | # |
| CSS | \0034 | \0023 |
| JavaScript | \u{34} | \u{23} |
| Python | \u0034 | \u0023 |
| UTF-8 | 34 | 23 |
How to Distinguish
Both Digit Four and Number Sign belong to the Latin Extended category and the Basic Latin block. Compare their codepoints and visual rendering to distinguish them.
Tip: Paste the character into a hex editor or use
charCodeAt()
in JavaScript to check the actual codepoint.