Digit Two vs Exclamation Mark
VS
Comparaison des propriétés
| Propriété | 2 0032 | ! 0021 |
|---|---|---|
| Nom | Digit Two | Exclamation Mark |
| Catégorie | Latin Extended | Latin Extended |
| Bloc | Basic Latin | Basic Latin |
| Écriture | Zyyy | Zyyy |
| Catégorie générale | Decimal Number (Nd) | Other Punctuation (Po) |
| Bidirectionnel | EN | ON |
Comparaison d'encodages
| Format | 0032 | 0021 |
|---|---|---|
| Unicode | U+0032 | U+0021 |
| HTML Decimal | 2 | ! |
| HTML Hex | 2 | ! |
| CSS | \0032 | \0021 |
| JavaScript | \u{32} | \u{21} |
| Python | \u0032 | \u0021 |
| UTF-8 | 32 | 21 |
Comment les distinguer
Digit Two et Exclamation Mark 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.