Comma vs Currency Sign
VS
Property Comparison
| Property | , 002C | ¤ 00A4 |
|---|---|---|
| Name | Comma | Currency Sign |
| Category | Latin Extended | Latin Extended |
| Block | Basic Latin | Latin-1 Supplement |
| Script | Zyyy | Zyyy |
| General Category | Other Punctuation (Po) | Currency Symbol (Sc) |
| Bidirectional | CS | ET |
Encoding Comparison
| Format | 002C | 00A4 |
|---|---|---|
| Unicode | U+002C | U+00A4 |
| HTML Decimal | , | ¤ |
| HTML Hex | , | ¤ |
| CSS | \002C | \00A4 |
| JavaScript | \u{2C} | \u{A4} |
| Python | \u002c | \u00a4 |
| UTF-8 | 2c | c2 a4 |
How to Distinguish
Both Comma and Currency Sign are in the Latin Extended category but reside in different Unicode blocks. Check the codepoint to tell them apart.
Tip: Paste the character into a hex editor or use
charCodeAt()
in JavaScript to check the actual codepoint.