The reason commenting out (see q ) didn’t work is that the data was wrong in the database, so no encoding change could fix it.
I restored the database by copy pasting the sql script into PHPMyAdmin, and the text box interpreted the text as having the wrong encoding. By using import in phpmyadmin and selecting the file, that data came in correctly.
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
- Apostrophes showing up as ΓÇÖ after converting from Windows to Linux
- WordPress content shows this character ​​
- Symbols such as £ end up being  in the database
- 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 replace � in a string
- Does “\d” in regex mean a digit?
- What is base 64 encoding used for?
- Python – Reading and writing csv files with utf-8 encoding
- how to convert negative hexadecimal to decimal
- I have a string with “\u00a0”, and I need to replace it with “” str_replace fails
- “Unmappable character for encoding UTF-8” error
- Using unicode character u201c
- URL Encoding Issue %3D instead of (=)
- C# Encoding a text string with line breaks
- 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?
- 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?
- add_rewrite_rule not working for language specific characters
- Query string becomes encoded when a static page is used as homepage
- Text cut off after the character 𪇆 in TinyMCE
- Site Rss not seen by browser
- WordPress problem with htmlentities
- Emojis getting converted to “?”
- urlencode query string in gravity forms confirmation redirect
- HTML Entities displaying improperly as malformed escaped code
- Post Content, Special Characters and Filters
- How to get my post title to work with an apostrophe (‘s)?
- 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]
- Unicode characters displaying as ? after import using WP Clone
- How to use Japanese characters for a single page
- esc_js() breaks unicode sequences by removing the slash ‘\’ character
- Post editor loads empty
- UTF8 Encoding problems when exporting posts
- WordPress doesn’t display accents after migration
- Images are not showing after moving WordPress installation from server to localhost?
- Problems character encoding for pages in multiple languages
- Blank spaces show as a question mark
- Function to replace comment’s accented characters before posting
- Outputting HTML elements through WP-API
- WordPress site stopped working after simply opening header.php in the wp-admin editor
- Problem with UTF8. italian/russian characters
- How to automatically convert “%” and “+” in image urls on upload
- Problems with wierd characters and my plugin
- Special characters in post_title replaced by ‘?’
- Plugin won’t output characters with diacritics properly
- French accented text replaced with ? in woocommerce product list
- How to encode correclty an url with the char “&” for an email?
- Character encoding issue – black diamond question marks on imported post excerpts
- Theme-based character encoding issue
- Strange special character/Latin characters
- Search terms in other language turns out to question mark and symbols
- Control character encode after using jquery autocomplete
- All of my wordpress sites showing †Ù¥
- filter wptexturize doesn’t work on old posts titles
- Plugin error on activation – breaks page encoding and prints the code of plugin php files
- Admin encoding problem
- wp-login.php ampersand in url results in 404
- Multisite   wrong encoding problem
- WordPress v3.1 Has Character Encoding Issue With Title/Permalink?