Double Hyphen vs Fullwidth Digit Five
VS
Perbandingan Properti
| Properti | ⹀ 2E40 | 5 FF15 |
|---|---|---|
| Nama | Double Hyphen | Fullwidth Digit Five |
| Kategori | Punctuation | Punctuation |
| Blok | Supplemental Punctuation | Halfwidth and Fullwidth Forms |
| Skrip | Zyyy | Zyyy |
| Kategori Umum | Dash Punctuation (Pd) | Decimal Number (Nd) |
| Bidireksional | ON | EN |
Perbandingan Pengkodean
| Format | 2E40 | FF15 |
|---|---|---|
| Unicode | U+2E40 | U+FF15 |
| HTML Decimal | ⹀ | 5 |
| HTML Hex | ⹀ | 5 |
| CSS | \2E40 | \FF15 |
| JavaScript | \u{2E40} | \u{FF15} |
| Python | \u2e40 | \uff15 |
| UTF-8 | e2 b9 80 | ef bc 95 |
Cara Membedakan
Double Hyphen dan Fullwidth Digit Five keduanya berada di kategori Punctuation tetapi di blok Unicode yang berbeda. Periksa titik kode untuk membedakan keduanya.
Tips: Tempelkan karakter ke editor hex atau gunakan
charCodeAt()
di JavaScript untuk memeriksa titik kode yang sebenarnya.