Digit Four vs Right Square Bracket
VS
Property Comparison
| Property | 4 0034 | ] 005D |
|---|---|---|
| Name | Digit Four | Right Square Bracket |
| Category | Latin Extended | Latin Extended |
| Block | Basic Latin | Basic Latin |
| Script | Zyyy | Zyyy |
| General Category | Decimal Number (Nd) | Close Punctuation (Pe) |
| Bidirectional | EN | ON |
Encoding Comparison
| Format | 0034 | 005D |
|---|---|---|
| Unicode | U+0034 | U+005D |
| HTML Decimal | 4 | ] |
| HTML Hex | 4 | ] |
| CSS | \0034 | \005D |
| JavaScript | \u{34} | \u{5D} |
| Python | \u0034 | \u005d |
| UTF-8 | 34 | 5d |
How to Distinguish
Both Digit Four and Right Square Bracket 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.