Ampersand vs Digit Zero
VS
Property Comparison
| Property | & 0026 | 0 0030 |
|---|---|---|
| Name | Ampersand | Digit Zero |
| Category | Latin Extended | Latin Extended |
| Block | Basic Latin | Basic Latin |
| Script | Zyyy | Zyyy |
| General Category | Other Punctuation (Po) | Decimal Number (Nd) |
| Bidirectional | ON | EN |
Encoding Comparison
| Format | 0026 | 0030 |
|---|---|---|
| Unicode | U+0026 | U+0030 |
| HTML Decimal | & | 0 |
| HTML Hex | & | 0 |
| CSS | \0026 | \0030 |
| JavaScript | \u{26} | \u{30} |
| Python | \u0026 | \u0030 |
| UTF-8 | 26 | 30 |
How to Distinguish
Both Ampersand and Digit Zero 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.