We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

Disable emoji mobile

Hi,

When I submit my ajax form with an emoji (on my smartphone) in a textbox, I can't save the data in my mysql database.

Do you know how I can disable emoji on a mobile keyboard in my web application ? Or if it's possible to detect emoji ascii server side ?

Thanks.

This isn't related to Phalcon, but my guess is you'd have to use a library to convert the input.

https://github.com/Ranks/emojione

https://github.com/iamcal/php-emoji