diff --git a/dumper.php b/dumper.php index e2a09dc..dca97c7 100644 --- a/dumper.php +++ b/dumper.php @@ -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; } @@ -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; }