encodingutf-8mojibake

"’" showing on page instead of " ' "


’ is showing on my page instead of '.

I have the Content-Type set to UTF-8 in both my <head> tag and my HTTP headers:

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

enter image description here

In addition, my browser is set to Unicode (UTF-8):

enter image description here

So what's the problem, and how can I fix it?


Solution

  • Ensure the browser and editor are using UTF-8 encoding instead of ISO-8859-1/Windows-1252.

    Or use &rsquo;.