We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9d255b9 commit 517bae1Copy full SHA for 517bae1
1 file changed
src/DB.php
@@ -24,7 +24,7 @@ protected static function connect()
24
while (isset($args[count($args)-1]) && $args[count($args)-1] !== null) array_pop($args);
25
static::$mysqli = $reflect->newInstanceArgs($args);
26
if (mysqli_connect_errno()) static::error(mysqli_connect_error());
27
- if (!static::$mysqli->set_charset('utf8')) static::error(mysqli_error());
+ if (!static::$mysqli->set_charset('utf8mb4')) static::error(mysqli_error());
28
}
29
30
0 commit comments