LEFT SINGLE QUOTATION MARK vs RIGHT SINGLE QUOTATION MARK
copied1 = false, 2000)"
:class="copied1 ? 'border-green-400 bg-green-50 dark:bg-green-950' : ''">
‘
LEFT SINGLE QUOTATION MARK
U+2018
View details →
copied2 = false, 2000)"
:class="copied2 ? 'border-green-400 bg-green-50 dark:bg-green-950' : ''">
’
RIGHT SINGLE QUOTATION MARK
U+2019
View details →
VS
Property Comparison
| Property | ‘ U+2018 | ’ U+2019 |
|---|---|---|
| Name | LEFT SINGLE QUOTATION MARK | RIGHT SINGLE QUOTATION MARK |
| Block | General Punctuation | General Punctuation |
| Script | Zyyy | Zyyy |
| Category | Initial Punctuation (Pi) | Final Punctuation (Pf) |
| Bidirectional | ON | ON |
Encoding Comparison
| Format | U+2018 | U+2019 |
|---|---|---|
| unicode | U+2018 | U+2019 |
| decimal | 8216 | 8217 |
| htmldecimal | ‘ | ’ |
| htmlhex | ‘ | ’ |
| css | \2018 | \2019 |
| javascript | \u{2018} | \u{2019} |
| python | \u2018 | \u2019 |
| java | \u2018 | \u2019 |
| go | \u2018 | \u2019 |
| ruby | \u{2018} | \u{2019} |
| rust | \u{2018} | \u{2019} |
| ccpp | \u2018 | \u2019 |
| urlencoded | %E2%80%98 | %E2%80%99 |
| utf8bytes | e2 80 98 | e2 80 99 |
| utf16bebytes | 20 18 | 20 19 |
| utf32bebytes | 00 00 20 18 | 00 00 20 19 |
| htmlentity | ‘ | ’ |
How to Distinguish
Both LEFT SINGLE QUOTATION MARK and RIGHT SINGLE QUOTATION MARK belong to the General Punctuation block and Zyyy script. Compare their codepoints and visual rendering to distinguish them.
Tip: Paste the character into a hex editor or use
charCodeAt()
in JavaScript to check the actual codepoint.