From 863735a6e5256c20e5d8849bb72a5cb51f1a011a Mon Sep 17 00:00:00 2001 From: snipe Date: Thu, 26 Jan 2017 04:52:38 -0800 Subject: [PATCH] Fix utf encoding on DB --- config/database.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/database.php b/config/database.php index 0806c1dc9..afa6c23f5 100755 --- a/config/database.php +++ b/config/database.php @@ -64,8 +64,8 @@ return [ 'database' => env('DB_DATABASE', 'forge'), 'username' => env('DB_USERNAME', 'forge'), 'password' => env('DB_PASSWORD', ''), - 'charset' => 'utf8', - 'collation' => 'utf8_unicode_ci', + 'charset' => 'utf8mb4', + 'collation' => 'utf8mb4_unicode_ci', 'prefix' => env('DB_PREFIX', null), 'strict' => false, 'engine' => null,