Line Separator vs Middle Dot
VS
Perbandingan Properti
| Properti | 2028 | · 00B7 |
|---|---|---|
| Nama | Line Separator | Middle Dot |
| Kategori | Punctuation | Punctuation |
| Blok | General Punctuation | Latin-1 Supplement |
| Skrip | Zyyy | Zyyy |
| Kategori Umum | Line Separator (Zl) | Other Punctuation (Po) |
| Bidireksional | WS | ON |
Perbandingan Pengkodean
| Format | 2028 | 00B7 |
|---|---|---|
| Unicode | U+2028 | U+00B7 |
| HTML Decimal | 
 | · |
| HTML Hex | 
 | · |
| CSS | \2028 | \00B7 |
| JavaScript | \u{2028} | \u{B7} |
| Python | \u2028 | \u00b7 |
| UTF-8 | e2 80 a8 | c2 b7 |
Cara Membedakan
Line Separator dan Middle Dot 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.