Digit Two vs Exclamation Mark
VS
Perbandingan Properti
| Properti | 2 0032 | ! 0021 |
|---|---|---|
| Nama | Digit Two | Exclamation Mark |
| Kategori | Latin Extended | Latin Extended |
| Blok | Basic Latin | Basic Latin |
| Skrip | Zyyy | Zyyy |
| Kategori Umum | Decimal Number (Nd) | Other Punctuation (Po) |
| Bidireksional | EN | ON |
Perbandingan Pengkodean
| 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 |
Cara Membedakan
Digit Two dan Exclamation Mark keduanya termasuk kategori Latin Extended dan blok Basic Latin. Bandingkan titik kode dan tampilan visualnya untuk membedakan keduanya.
Tips: Tempelkan karakter ke editor hex atau gunakan
charCodeAt()
di JavaScript untuk memeriksa titik kode yang sebenarnya.