Asterisk vs Comma
VS
Property Comparison
| Property | * 002A | , 002C |
|---|---|---|
| Name | Asterisk | Comma |
| Category | Latin Extended | Latin Extended |
| Block | Basic Latin | Basic Latin |
| Script | Zyyy | Zyyy |
| General Category | Other Punctuation (Po) | Other Punctuation (Po) |
| Bidirectional | ON | CS |
Encoding Comparison
| Format | 002A | 002C |
|---|---|---|
| Unicode | U+002A | U+002C |
| HTML Decimal | * | , |
| HTML Hex | * | , |
| CSS | \002A | \002C |
| JavaScript | \u{2A} | \u{2C} |
| Python | \u002a | \u002c |
| UTF-8 | 2a | 2c |
How to Distinguish
Both Asterisk and Comma 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.