Colon vs Comma
VS
Comparaison des propriétés
| Propriété | : 003A | , 002C |
|---|---|---|
| Nom | Colon | Comma |
| Catégorie | Latin Extended | Latin Extended |
| Bloc | Basic Latin | Basic Latin |
| Écriture | Zyyy | Zyyy |
| Catégorie générale | Other Punctuation (Po) | Other Punctuation (Po) |
| Bidirectionnel | CS | CS |
Comparaison d'encodages
| Format | 003A | 002C |
|---|---|---|
| Unicode | U+003A | U+002C |
| HTML Decimal | : | , |
| HTML Hex | : | , |
| CSS | \003A | \002C |
| JavaScript | \u{3A} | \u{2C} |
| Python | \u003a | \u002c |
| UTF-8 | 3a | 2c |
Comment les distinguer
Colon et Comma appartiennent tous deux à la catégorie Latin Extended et au bloc Basic Latin. Comparez leurs points de code et leur rendu visuel pour les distinguer.
Conseil : Collez le caractère dans un éditeur hexadécimal ou utilisez
charCodeAt()
en JavaScript pour vérifier le point de code réel.