Hebrew Characters Have gone bad

I have read this question:

I have tried the following:

ALTER database mydbname CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER table ext_hebrewText CHARACTER SET utf8 COLLATE utf8_general_ci;

My table has one column in Hebrew:

And I have various Javascripts that format and color it to show on the screen. This is the way it is current showing: With some other changes, I see all question marks.

My current config.php settings are:

/** Database Charset to use in creating database tables. */
define('DB_CHARSET', 'utf8');

/** The Database Collate type. Don't change this if in doubt. */
//define('DB_COLLATE', '');
define('DB_COLLATE', 'utf8_general_ci;');

What's the right combination to get them to display. Everything used to work fine. I think it broke on one of the recent WordPress auto upgrades. It's not a font issue, because I see those same characters when I inspect the HTML on Chrome debugger tool.

Topic characters language collation Wordpress

Category Web


I'm totally shocked. After hours of trying things and testing, I finally found the "Settings" then "Readings" option below: "Encoding for pages and feeds". After changing from UTF-7 to UTF-8, everything looks good again.

enter image description here

And even stranger, after changing it to UTF-8, the option disappears from the page. According to WordPress site, this option was removed since release 3.5.

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.