Skip to content

Commit 647fbb3

Browse files
committed
Use utf8mb4.
1 parent 93efca1 commit 647fbb3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dba/AbstractModelFactory.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -855,7 +855,7 @@ public function getDB($test = false) {
855855
}
856856
else {
857857
global $CONN;
858-
$dsn = 'mysql:dbname=' . $CONN['db'] . ";host=" . $CONN['server'] . ";port=" . $CONN['port'] . ";charset=utf8";
858+
$dsn = 'mysql:dbname=' . $CONN['db'] . ";host=" . $CONN['server'] . ";port=" . $CONN['port'] . ";charset=utf8mb4";
859859
$user = $CONN['user'];
860860
$password = $CONN['pass'];
861861
}

0 commit comments

Comments
 (0)