Character encoding problem
-
Hi;
I got wrong characters display on my wordpress installation (both on back and front-end), but it only occurs on Opera 12, Internet Explorer 7 & 8 (just on special characters) and on Safari 5 (where it’s impossible to read anything except few menus and titles in navbars which display totally correctly, including special characters; while administration’s working well except special characters). Firefox 14 and Google Chrome 22 display everything correctly, I didn’t try on other browsers/versions.The big deal is I intended a lot of tricks explained on the web like on this page using a php script called “convert_to_utf8_sql_generator” which worked perfectly with just an error on wp_postmeta table.
My wp-config.php displays correctly
define(‘DB_CHARSET’, ‘utf8’);
define(‘DB_COLLATE’, ”);When I display source code on a web browser (this is HTML5), I get
<!doctype html>
<head>
<meta charset=”UTF-8″ />
<meta name=”viewport” content=”width=device-width, user-scalable=no, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0″>
<meta http-equiv=”X-UA-Compatible” content=”IE=edge,chrome=1″ />
in the header.
Every tables and the database itself are set in utf8_general_ci.
I tried to backup, delete and re-import the database after these modifications, using utf8 as charset and both ANSI/NONE as SQL compatibility mode. Nothing better.
I tried to create a new post after all of that; same errors.Forgot to tell that I’m working on my computer localhost, using WAMP server 2.0 (but every other wordpress websites on my localhost doesn’t have this kind of error).
Please, have you got any idea, any trail? Maye it’s related to the use of HTML5? Maybe it’s about my template?
Thanks a lot dudes!
- The topic ‘Character encoding problem’ is closed to new replies.