Digit Eight vs Vertical Line
VS
Property Comparison
| Property | 8 0038 | | 007C |
|---|---|---|
| Name | Digit Eight | Vertical Line |
| Category | Latin Extended | Latin Extended |
| Block | Basic Latin | Basic Latin |
| Script | Zyyy | Zyyy |
| General Category | Decimal Number (Nd) | Math Symbol (Sm) |
| Bidirectional | EN | ON |
Encoding Comparison
| Format | 0038 | 007C |
|---|---|---|
| Unicode | U+0038 | U+007C |
| HTML Decimal | 8 | | |
| HTML Hex | 8 | | |
| CSS | \0038 | \007C |
| JavaScript | \u{38} | \u{7C} |
| Python | \u0038 | \u007c |
| UTF-8 | 38 | 7c |
How to Distinguish
Both Digit Eight and Vertical Line 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.