Ver Mensaje Individual
  #1 (permalink)  
Antiguo 29/01/2012, 12:26
davicito
 
Fecha de Ingreso: marzo-2009
Mensajes: 480
Antigüedad: 15 años, 1 mes
Puntos: 1
Exclamación caracteres extraños en post,

Hola a todos.
Tengo un problema a la hora de leer un post.

Mi página php tiene codificación utf8:
Código HTML:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> 

Código HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>ejemplo</title>
</head>
<body>

<form method="post">
<input type="text" name="nombre" value="Dávid" />

</form>
</body>
</html> 
Luego en otra página "mostramos.php"

El post nombre me muestra esto, "Dã¡vid"

He probado con utf8_encode y nada, el tema es que me gustaría no utilizar ninguna codificación en las variables...


Como puedo hacerlo?
Cuál es la mejor solución?


Muchas gracias