Double Vertical Line vs Fullwidth Digit Five
VS
การเปรียบเทียบคุณสมบัติ
| คุณสมบัติ | ‖ 2016 | 5 FF15 |
|---|---|---|
| ชื่อ | Double Vertical Line | Fullwidth Digit Five |
| หมวดหมู่ | Punctuation | Punctuation |
| บล็อก | General Punctuation | Halfwidth and Fullwidth Forms |
| สคริปต์ | Zyyy | Zyyy |
| หมวดหมู่ทั่วไป | Other Punctuation (Po) | Decimal Number (Nd) |
| สองทิศทาง | ON | EN |
การเปรียบเทียบการเข้ารหัส
| รูปแบบ | 2016 | FF15 |
|---|---|---|
| Unicode | U+2016 | U+FF15 |
| HTML Decimal | ‖ | 5 |
| HTML Hex | ‖ | 5 |
| CSS | \2016 | \FF15 |
| JavaScript | \u{2016} | \u{FF15} |
| Python | \u2016 | \uff15 |
| UTF-8 | e2 80 96 | ef bc 95 |
วิธีแยกความแตกต่าง
Double Vertical Line และ Fullwidth Digit Five ทั้งคู่อยู่ในหมวดหมู่ Punctuation แต่อยู่ในบล็อก Unicode ที่ต่างกัน ตรวจสอบโค้ดพอยต์เพื่อแยกความแตกต่าง
เคล็ดลับ: วางอักขระในโปรแกรมแก้ไข hex หรือใช้
charCodeAt()
ใน JavaScript เพื่อตรวจสอบโค้ดพอยต์จริง