Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

109
Views
French string not stored proper in mysql database

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

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Check the collation type of your MySql tables, it shloud be set at "utf8" to correctly encode accents on letters. You could also try "utf8mb4".

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!