BUG 8943 The Chinese charactors can't be backuped and restored... SOLVED
- The Chinese characters do not display correctly. - Format was changed UTF-8 to Backup and restore.
This commit is contained in:
@@ -156,8 +156,9 @@ class DataBaseMaintenance
|
||||
if( isset($dbname) ) {
|
||||
$this->dbName = $dbname;
|
||||
}
|
||||
|
||||
|
||||
$this->link = mysql_connect($this->host, $this->user, $this->passwd);
|
||||
@mysql_query("SET NAMES 'utf8';");
|
||||
if( ! $this->link ) {
|
||||
throw new Exception("Couldn't connect to host {$this->host} with user {$this->user}");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user