APOSTROPHE vs RIGHT SINGLE QUOTATION MARK

'
APOSTROPHE
U+0027
View details →
RIGHT SINGLE QUOTATION MARK
U+2019
View details →
VS

Property Comparison

Property ' U+0027 ’ U+2019
Name APOSTROPHE RIGHT SINGLE QUOTATION MARK
Block Basic Latin General Punctuation
Script Zyyy Zyyy
Category Other Punctuation (Po) Final Punctuation (Pf)
Bidirectional ON ON

Encoding Comparison

Format U+0027 U+2019
unicode U+0027 U+2019
decimal 39 8217
htmldecimal ' ’
htmlhex ' ’
css \0027 \2019
javascript \u{27} \u{2019}
python \u0027 \u2019
java \u0027 \u2019
go \u0027 \u2019
ruby \u{27} \u{2019}
rust \u{27} \u{2019}
ccpp \u0027 \u2019
urlencoded %27 %E2%80%99
utf8bytes 27 e2 80 99
utf16bebytes 00 27 20 19
utf32bebytes 00 00 00 27 00 00 20 19
htmlentity ' ’

How to Distinguish

Both characters use the Zyyy script but are in different blocks: APOSTROPHE in Basic Latin and RIGHT SINGLE QUOTATION MARK in General Punctuation.

Tip: Paste the character into a hex editor or use charCodeAt() in JavaScript to check the actual codepoint.

Related Comparisons

' APOSTROPHE details ’ RIGHT SINGLE QUOTATION MARK details All Comparisons