Save emojis to MySQL database db.json charset

Hi
I’m trying to save emoji characters to mysql table. Database utf8mb4 charset is configured
When i modify db.json file in app/modules/connections/ works perfectly, but when restart wappler app, this file is rewrite without final charset configuration line

{
“name”: “db”,
“module”: “dbconnector”,
“action”: “connect”,
“options”: {
“client”: “mysql”,
“connection”: {
“host”: “xx.xxx.xx.xxx,
“user”: “user”,
“password”: “xxxxxxx”,
“database”: “da”tabasename,
“charset”: “utf8mb4”
}
}
}

How do you enter you emoji? In Wappler’s database viewer?

No. Via post form. Emoji’s works fine, and ara stored and displayed. But every time restart Wappler, my connections file resets and delete last line “charset”: “utf8mb4”

Charset option was added in Wappler 3.9.2

This topic was automatically closed after 29 hours. New replies are no longer allowed.