Ver Mensaje Individual
  #3 (permalink)  
Antiguo 17/03/2015, 11:31
Avatar de Hyemin
Hyemin
 
Fecha de Ingreso: agosto-2014
Mensajes: 147
Antigüedad: 9 años, 8 meses
Puntos: 0
Respuesta: Problemas con tildes en MYSQL y PHP con el collation-utf8

Gracias por tu respuesta;

Probé cambiar a utf8mb4 en MySQL y agregar las lineas que me indican en el index.php (que es quien muestra los datos formateados en la pantala)

Código PHP:
Ver original
  1. // Tell PHP that we're using UTF-8 strings until the end of the script
  2.  
  3. // Tell PHP that we'll be outputting UTF-8 to the browser
  4. mb_http_output('UTF-8');

Por ahora sigue mostrando de manera incorrecta los acentos que traigo de la base de datos

Los datos que ingreso no lo hago por PHP, los ingreso directamente desde MySQL workbench

Alguna idea de que estoy haciendo mal?