SymbolFYI

Digit Four vs Hyphen-Minus

4
Digit Four
0034
View details →
-
Hyphen-Minus
002D
View details →
VS

Property Comparison

Property 4 0034 - 002D
Name Digit Four Hyphen-Minus
Category Latin Extended Latin Extended
Block Basic Latin Basic Latin
Script Zyyy Zyyy
General Category Decimal Number (Nd) Dash Punctuation (Pd)
Bidirectional EN ES

Encoding Comparison

Format 0034 002D
Unicode U+0034 U+002D
HTML Decimal 4 -
HTML Hex 4 -
CSS \0034 \002D
JavaScript \u{34} \u{2D}
Python \u0034 \u002d
UTF-8 34 2d

How to Distinguish

Both Digit Four and Hyphen-Minus 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.

Related Comparisons

4 Digit Four details - Hyphen-Minus details All Comparisons