summaryrefslogtreecommitdiffstats
path: root/application/config/example/database.php
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2017-10-28 20:36:59 +0200
committerFlorian Pritz <bluewind@xinu.at>2017-10-28 20:36:59 +0200
commit99bf28fef1a5bb0f89919d1e5e722c9eace6826a (patch)
tree068e0425b000858a7820b0aeb53b0c5eb865b748 /application/config/example/database.php
parent9a17c141f8acee118200fe70a6ae831e5bb4b002 (diff)
mysql: Enable full UTF8 support
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/config/example/database.php')
-rw-r--r--application/config/example/database.php6
1 files changed, 3 insertions, 3 deletions
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
);