Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

110
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda