I am trying to store french string in mysql DB but it not get proper stored and changed some characters and not get display proper in my webpage
Original string: Bonjour Mr/Mme « Nom de famille du prospect », je suis « votre prénom » d’Europ Assistance La Téléassistance…
Stored string : Bonjour Mr/Mme « Nom de famille du prospect », je suis « votre prénom » d’Europ Assistance La Téléassistance…
I have tried with many solutions
- header('Content-Type: text/html; charset=UTF-8');,
- Collation is utf8_unicode_ci,
- Used SET NAMES UTF8,
- tried mysqli_set_charset($conn,"utf8") when select from DB,
- Also tried with ISO-8859-1
Also tried many HTML functions but did not work character_set_name is utf-8
character_set_name is utf-8