Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions dumper.php
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,11 @@ function connect() {
if (!$select_db_res) {
throw new Shuttle_Exception("Couldn't select database: " . mysql_error($this->connection));
}

/*
// if data with emoji
mysql_query("set names utf8mb4");
*/

return true;
}
Expand Down Expand Up @@ -457,6 +462,10 @@ function connect() {
if ($this->connection->connect_error) {
throw new Shuttle_Exception("Couldn't connect to the database: " . $this->connection->connect_error);
}
/*
// if data with emoji
$this->connection->query("set names utf8mb4");
*/

return true;
}
Expand Down