mysql migration encoding fix – is this safe?
-
Lots of trouble migrating to a new host – particularly with moving the database. Lots of gremlins appear in the imported version (borked apostrophes, quotes etc), all to do with utf-8 reading Latin1 entries. There appear to be some complex solutions to do with configuring the dumps/imports correctly, but the easy thing that works seems to be to edit the wp-config.php file and change
define(‘DB_CHARSET’, ‘utf8’);
to
define(‘DB_CHARSET’, ‘latin1’);It definitely works – but could it cause problems? If so, what of problems?
Thanks in advance.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘mysql migration encoding fix – is this safe?’ is closed to new replies.