It looks to me like you’re not using an actual apostrophe, but one of the curly apostrophes, such as those that Microsoft Word might be configured to auto-correct to. There is a chance that your mysqldump was actually exporting it incorrectly. In my test database, both PowerShell and Command Prompt were dumping as ΓÇÖ, whereas Cygwin was dumping as ’. If your export does look fine in those areas, you may want to check the Content-Type return header to see that it is specifying UTF-8. If both of those check out, it could be that the database’s encoding needs to be modified.
As an alternative, you could replace any occurrence of ’ with '.
Related Posts:
- Is ‘# -*- coding: utf-8 -*-‘ also a comment in Python?
- What is the difference between UTF-8 and Unicode?
- Byte and char conversion in Java
- What is “=C2=A0” in MIME encoded, quoted-printable text?
- Strange characters – despite everything being UTF-8
- One for the gurus: upgrade to 3.x messed up only filenames with accented chars
- Word press replacing unicode characters with “?”s
- How to set charset for wp_remote_post request?
- Outputting post title without encoding
- WordPress content shows this character ​​
- Symbols such as £ end up being  in the database
- Fix encoding ’ [closed]
- Getting Non-printable characters were found while entering Euro Symbol
- How to deal with apostrophes
- Question mark on special chars
- Encoding Issue while using French in WordPress
- Get ?? for unicode characters
- WordPress theme character encoding issue
- character encoding problem in custom template
- restored old database now some characters have changed?
- WordPress plugin problem with encoding
- Post removes any text from post that’s following special characters
- UTF-8 Characters in URL – IE problem
- WordPress Dashboard Characters Messed Up
- How to make sure the letters ‘pez’ do not convert to a fish symbol? [closed]
- Problem some Persian texts show in ISO-8859-5
- What character encoding is >?
- how to convert negative hexadecimal to decimal
- “Unmappable character for encoding UTF-8” error
- Using unicode character u201c
- URL Encoding Issue %3D instead of (=)
- If a hacker changed the blog_charset to UTF-7 does that make WordPress vulnerable to further attacks?
- Character encoding issue after changing servers
- Add whitespace between Chinese and other letters
- WordPress Database Charset/Collate
- Why WP encodes UNICODE (UTF8) containing urls? Any drawbacks of UNICODE url?
- do_settings_sections() doesn’t escape quotes
- Allowing non-latin characters in registration
- JSON not valid after json_encode posts
- Non-Latin Characters in permalinks
- How to increase the character limit for post name of 200?
- Faulty restore of the database, encoding issue
- How to encode post content as JSON?
- What is wp_check_invalid_utf8?
- WordPress load-scripts.php encoding issue
- Text cut off on save
- Custom DB_COLLATE (collation) value not working on fresh install?
- What is WordPress file encoding?
- Query string becomes encoded when a static page is used as homepage
- Site Rss not seen by browser
- WordPress problem with htmlentities
- Emojis getting converted to “?”
- Unexpected = (equal sign) characters in wp mail
- Website dumps encoded result
- Why does wp_redirect strip out %0A (url encoded new line character) and how do I make it stop?
- HTML Entities displaying improperly as malformed escaped code
- Post Content, Special Characters and Filters
- Editing URL character replacement
- Return encoded Page Title outside of a loop
- How to properly encode url with parameters for redirect_to
- Avoid glitchy characters – my own version of the problem
- Adding inline JavaScript encoding issue
- copying text from ms word to wordpress post appears weird [closed]
- images not showing after transfer
- Unicode characters displaying as ? after import using WP Clone
- Post editor loads empty
- How do I convert a MySQL database from utf8mb4 to utf8 encoding?
- Special Character Appearing in my WordPress Pages Content
- encoded search terms with %20
- UTF-32be error WordPress
- How to distinguish between a hack and an encoding error?
- Uploaded image with non-english characters is named incorrectly in upload folder
- wp_mail encode ’ in ’ in subject
- Email Obfuscation: Is antispambot() Acceptable? [closed]
- WordPress site stopped working after simply opening header.php in the wp-admin editor
- ✓ Checkmark Character Encoding Issue In WordPress Editor
- How to Fix Mangled Thai Characters
- Encode URL for WhatsApp “click to chat” without loosing accented characters
- Encoding matter – ? instead of € after settings field callback
- Issue with json decode in WordPress – value is not returning consistently
- WordPress Dutch characters encoding problem
- Encoding video without exec function
- How Can I Concatenate A String With One Of My Custom Field Value Before Saving The Post?
- How are cookie values encoded?
- How to encode correclty an url with the char “&” for an email?
- Rest API encoding of double quotes
- How can I automatically add a post with Latin characters?
- Migrating a WordPress site has broken UTF8 encoding
- All of my wordpress sites showing †Ù¥
- TinyMCE HTML Encode Backslash
- wp-login.php ampersand in url results in 404
- Special characters showing in fallback font
- WordPress Database Charset/Collate
- How to pass post title (which could include &) to Gravity Form
- wp_insert_post and title not utf8 inserts with empty title?
- Non english charcters support for WP Customer Reviews
- Language selection for blog doesn’t exist?
- Modify WordPress to not replace + (plus) characters from URLs?
- js code not stored in database currectly
- WordPress v3.1 Has Character Encoding Issue With Title/Permalink?