replace utf8 by utf8mb4 to really manage utf8 in mysql db

This commit is contained in:
emnbdx 2021-12-29 02:15:49 +01:00
parent b5d1483048
commit 6f8b4c5a19
5 changed files with 13 additions and 13 deletions

View file

@ -60,7 +60,7 @@ class Phone extends AbstractDaemon
$this->read_tick += 1;
$this->bdd = \descartes\Model::_connect(DATABASE_HOST, DATABASE_NAME, DATABASE_USER, DATABASE_PASSWORD, 'UTF8');
$this->bdd = \descartes\Model::_connect(DATABASE_HOST, DATABASE_NAME, DATABASE_USER, DATABASE_PASSWORD, 'utf8mb4');
//Send smss in queue
$this->send_smss();