From 99bf28fef1a5bb0f89919d1e5e722c9eace6826a Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sat, 28 Oct 2017 20:36:59 +0200 Subject: mysql: Enable full UTF8 support Signed-off-by: Florian Pritz --- application/config/example/database.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'application/config/example') diff --git a/application/config/example/database.php b/application/config/example/database.php index b4cb64039..6b71bf60b 100644 --- a/application/config/example/database.php +++ b/application/config/example/database.php @@ -86,12 +86,12 @@ $db['default'] = array( 'db_debug' => TRUE, 'cache_on' => FALSE, 'cachedir' => '', - 'char_set' => 'utf8', - 'dbcollat' => 'utf8_general_ci', + 'char_set' => 'utf8mb4', + 'dbcollat' => 'utf8mb4_bin', 'swap_pre' => '', 'encrypt' => FALSE, 'compress' => FALSE, - 'stricton' => FALSE, + 'stricton' => TRUE, 'failover' => array(), 'save_queries' => TRUE ); -- cgit v1.2.3-24-g4f1b