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