Skip to content

A free open source IT asset/license management system

Fix utf encoding on DB

snipe863735a6e525
diff --git a/config/database.php b/config/database.php
index 0806c1dc99..afa6c23f56 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,