WPIntell

Source evidence

Character set wrong

WP DB Driver · support · 2014-08-07T12:02:00+00:00

mixedsentiment
mediumseverity
0.78relevance
8replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

4 / 31 rows with source links

12.9% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

27 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
Knut Sparhell resolved
After update to 1.9 my WordPress shows bad characters for all non ASCII characters, on front and in admin. I use PDO, UTF-8 and nb_NO on a multisite. When db driver is removed from Settings, all is fine. Do you need me to test something, just ask. https://wordpress.org/plugins/wp-db-driver/ Can you test out every driver. Curious if it’s just PDO or not. Will investigate. Works fine when define( 'WPDB_DRIVER', 'mysqli' ); PHP 5.5 with mysql, mysqli, pdo and pdo_mysql Also fine with define( 'WPDB_DRIVER', 'mysql' ); , after unloading and reloading db driver in Settings. I did change that set_charset() method which only for PDO return false and then should fallback on the previous code. I will see how I can test this out and fix it. Can you try the version on GitHub? https://github.com/markoheijnen/wp-db-driver/ No problems, I was also having the same problem and the latest GitHub version fixes it. Just released the update. Sorry for the problems. I will now start working on writing unit tests before releasing a new update to prevent this kind of issues.

Comments

8 shown
Marko Heijnen 2014-08-07T12:06:00+00:00

Can you test out every driver. Curious if it’s just PDO or not. Will investigate.

Knut Sparhell 2014-08-07T15:29:00+00:00

Works fine when define( 'WPDB_DRIVER', 'mysqli' ); PHP 5.5 with mysql, mysqli, pdo and pdo_mysql

Knut Sparhell 2014-08-07T15:34:00+00:00

Also fine with define( 'WPDB_DRIVER', 'mysql' ); , after unloading and reloading db driver in Settings.

Marko Heijnen 2014-08-07T16:03:00+00:00

I did change that set_charset() method which only for PDO return false and then should fallback on the previous code. I will see how I can test this out and fix it.

Marko Heijnen 2014-08-07T21:00:00+00:00

Can you try the version on GitHub? https://github.com/markoheijnen/wp-db-driver/

Knut Sparhell 2014-08-08T00:00:00+00:00

No problems,

barthat 2014-08-08T09:57:00+00:00

I was also having the same problem and the latest GitHub version fixes it.

Marko Heijnen 2014-08-08T18:51:00+00:00

Just released the update. Sorry for the problems. I will now start working on writing unit tests before releasing a new update to prevent this kind of issues.