164 Posts
Hableur
2 days ago
0
Topic

Hello,

I'm experiencing an issue when saving a text field containing a Greek character. The text is: "méthode du 𝜅 de Cohen".

The 𝜅 character prevents the database from saving the record.

The database is properly set to utf8mb4_unicode_ci.

Of course, I can solve the problem with a BeforeStore treatment [$texte = str_replace("\xF0\x9D\x9C\x85", "κ", $texte);] but this isn't satisfactory because there could be other unusual characters.

It seems to me that this shouldn't be necessary?

Thanks

Get a VIP membership