Multisite   wrong encoding problem
I pinpointed the bug to the User Access Manager 1.2.2 (network-wide) – once disabled, everything went back to normal. I’m still not sure what exactly was causing the problem.
I pinpointed the bug to the User Access Manager 1.2.2 (network-wide) – once disabled, everything went back to normal. I’m still not sure what exactly was causing the problem.
This an encoding compatibility problem that occurs when there is a discrepancy between wordpress encoding configuration and the default system or server configuration. The plugin creates tables like so: $sql = “CREATE TABLE $this->dbtable ( …. Code …. reviewer_name varchar(150) DEFAULT NULL, …. More table fields Code .. )”; The DEFAULT keyword is the culprit … Read more
It could be due to the text encoding you are using is not set to UTF8, try to use iconv() and set. iconv(‘ISO-8859-1′,’UTF-8’, $post_info[‘post_content’]);
Post removes any text from post that’s following special characters
You already said you tried urlencode(), but what did you try that with? If you’ve only tried urlencode() with values from the_title() or the_title_attibute() so far, try it with get_the_title() directly. I’m able to get different results by trying this out if I try with a little test shortcode: Using the_title(): function wpse_123927_cb() { return … Read more
There are $wpdb->charset and $wpdb->collate. I am not sure if or when one of these values might be empty, so it is better to prepare for empty values … From my DB class: /** * Get table charset and collation. * * @since 2012.10.22 * @return string */ protected static function get_wp_charset_collate() { global $wpdb; … Read more
Special characters showing in fallback font
Why dont you use add_query_arg to get login url, $arr_params = array( ‘foo’ => ‘bar’, ‘baz’ => ‘tiny’ ); echo add_query_arg( $arr_params ,wp_login_url());
Make sure you have the appropriate character set in your wp-config.php file. utf8 is a safe bet. define(‘DB_CHARSET’, ‘utf8’);
Tried everything, finally rebuilt the plugin from ground up, split into several smaller ones. Installed and activated one by one and the problem was fixed. Everything works now.