[Resolved] [Plugin: Duplicator] Not working right with non-latin UTF-8 character set
I use the latest version of Duplicator 0.2.5
and get the wrong character when install (Thai Language).
I also check “Enable database character encoding” On the options dialog.
I looking in database.sql file. Everything look correct.
So I edited install.php at line 469.
$conn = @mysql_connect($dbhost, $dbuser, $dbpassword) or die(sprintf(MSG_FAIL_DBCONNECT, mysql_error()) . $tryagain_html);
add this after:
mysql_query("SET NAMES 'utf8' ");
Perfect! everything install correctly 🙂
I assume that some machine has no utf-8 as default character set. so I force that. This might help other or maybe you can put in next version.
- The topic ‘[Resolved] [Plugin: Duplicator] Not working right with non-latin UTF-8 character set’ is closed to new replies.