Skip to content

Instantly share code, notes, and snippets.

@bstonedev
Created February 10, 2020 07:12
Show Gist options
  • Save bstonedev/429d33105390ba523e52bd2108bdcf92 to your computer and use it in GitHub Desktop.
Save bstonedev/429d33105390ba523e52bd2108bdcf92 to your computer and use it in GitHub Desktop.
A Guide to ASCII, Unicode, UTF-8 and UTF-16 for quote marks and dashes.
UTF-16 UTF-8 DESCRIPTION SAMPLE
\U0022 \x22 QUOTATION MARK "
\U0027 \x27 APOSTROPHE '
\U201C \xe2\x80\x9c LEFT DOUBLE QUOTE
\U201D \xe2\x80\x9d RIGHT DOUBLE QUOTE
\U2018 \xe2\x80\x98 LEFT SINGLE QUOTE
\U2019 \xe2\x80\x99 RIGHT SINGLE QUOTE
\u002d \x2d A HYPHEN -
\u2013 \xe2\x80\x93 AN EN DASH
\u2014 \xe2\x80\x94 AN EM DASH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment