From d64725f03b02c0088c5f0a265016dc57c2383b27 Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Mon, 30 Mar 2020 18:08:42 +0200 Subject: [PATCH] Add encoding issue --- src/helpers/DatabaseHelper.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/helpers/DatabaseHelper.ts b/src/helpers/DatabaseHelper.ts index 1336402..22c0aba 100644 --- a/src/helpers/DatabaseHelper.ts +++ b/src/helpers/DatabaseHelper.ts @@ -59,7 +59,8 @@ export class DatabaseHelper { host: conf().database.host, user: conf().database.user, password: conf().database.password, - database: conf().database.dbName + database: conf().database.dbName, + charset: "utf8mb4_general_ci" }); await new Promise((resolve, reject) => {