Left-To-Right Embedding vs Middle Dot
VS
Perbandingan Properti
| Properti | 202A | · 00B7 |
|---|---|---|
| Nama | Left-To-Right Embedding | Middle Dot |
| Kategori | Punctuation | Punctuation |
| Blok | General Punctuation | Latin-1 Supplement |
| Skrip | Zyyy | Zyyy |
| Kategori Umum | Format (Cf) | Other Punctuation (Po) |
| Bidireksional | LRE | ON |
Perbandingan Pengkodean
| Format | 202A | 00B7 |
|---|---|---|
| Unicode | U+202A | U+00B7 |
| HTML Decimal | ‪ | · |
| HTML Hex | ‪ | · |
| CSS | \202A | \00B7 |
| JavaScript | \u{202A} | \u{B7} |
| Python | \u202a | \u00b7 |
| UTF-8 | e2 80 aa | c2 b7 |
Cara Membedakan
Left-To-Right Embedding 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.