Quote and single quote are being changed to characters

I have a VueJs form and pass all data inside a sanitizer.

The problem:
C'est l'été become C'est l'été.

Result: with Twi the text is not correctly displayed:

Same result inside the database:

enter image description here

How can I (after sanitizer usage) convert the text for an human-readable exprerience?

Source: Symfony Questions

Was this helpful?

0 / 0

Leave a Reply 0

Your email address will not be published. Required fields are marked *