Cocolabs-SAS / cocorico

👐 Cocorico is an open source marketplace solution for services and rentals. More information right here: https://www.cocorico.io/ 🚀 Cocorico is also available in an off-the-shelf SaaS package, check out https://www.hatch.li to launch your platform today. 😍 We are hiring (telecommute welcome 🏡): https://www.welcometothejungle.com/en/companies/cocorico/jobs/candidatures-spontanees#apply
https://www.cocolabs.com
MIT License
857 stars 610 forks source link

Error sql emoji #491

Closed gonzasylv closed 4 years ago

gonzasylv commented 4 years ago
Q A
Bug report? [ x ]
Feature request? [ ]
Support request? [ ]

hi @cocolabssas,

I just discovered an error when we put an emoji in a field like the description, we receive a sql error

Ex: hi 😘

http://imgur.com/TGBqRYjl.png

cocolabssas commented 4 years ago

Hi @gonzasylv,

It seems related to rdbms configuration and database app configuration.It seems that you should set all of them to utf8mb4.

It should help : https://symfony.com/doc/3.4/doctrine.html#a-simple-example-a-product

gonzasylv commented 4 years ago

its ok thanks