Hyphen vs Non-Breaking Hyphen
Embed This Widget
Add the script tag and a data attribute to embed this widget.
Embed via iframe for maximum compatibility.
<iframe src="https://symbolfyi.com/iframe/entity//" width="420" height="400" frameborder="0" style="border:0;border-radius:10px;max-width:100%" loading="lazy"></iframe>
Paste this URL in WordPress, Medium, or any oEmbed-compatible platform.
https://symbolfyi.com/entity//
Add a dynamic SVG badge to your README or docs.
[](https://symbolfyi.com/entity//)
Use the native HTML custom element.
VS
การเปรียบเทียบคุณสมบัติ
| คุณสมบัติ | ‐ 2010 | ‑ 2011 |
|---|---|---|
| ชื่อ | Hyphen | Non-Breaking Hyphen |
| หมวดหมู่ | Dashes & Hyphens | Dashes & Hyphens |
| บล็อก | General Punctuation | General Punctuation |
| สคริปต์ | Zyyy | Zyyy |
| หมวดหมู่ทั่วไป | Dash Punctuation (Pd) | Dash Punctuation (Pd) |
| สองทิศทาง | ON | ON |
การเปรียบเทียบการเข้ารหัส
| รูปแบบ | 2010 | 2011 |
|---|---|---|
| Unicode | U+2010 | U+2011 |
| HTML Decimal | ‐ | ‑ |
| HTML Hex | ‐ | ‑ |
| CSS | \2010 | \2011 |
| JavaScript | \u{2010} | \u{2011} |
| Python | \u2010 | \u2011 |
| UTF-8 | e2 80 90 | e2 80 91 |
วิธีแยกความแตกต่าง
Hyphen และ Non-Breaking Hyphen ทั้งคู่อยู่ในหมวดหมู่ Dashes & Hyphens และบล็อก General Punctuation เปรียบเทียบโค้ดพอยต์และการแสดงผลเพื่อแยกความแตกต่าง
เคล็ดลับ: วางอักขระในโปรแกรมแก้ไข hex หรือใช้
charCodeAt()
ใน JavaScript เพื่อตรวจสอบโค้ดพอยต์จริง