Tema: header utf-8
Ver Mensaje Individual
  #1 (permalink)  
Antiguo 17/02/2010, 04:10
Avatar de humanista
humanista
 
Fecha de Ingreso: abril-2005
Mensajes: 878
Antigüedad: 19 años
Puntos: 15
header utf-8

Hola, mi pregunta es sencilla y concreta, para indicar el juego de caracteres utf-8 se pone así:

<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
o...

header ('Content-type: text/html; charset=utf-8');

qué diferencias hay y cuándo conviene usar una u otra?