Ver Mensaje Individual
  #1 (permalink)  
Antiguo 17/01/2011, 10:48
albertrc
 
Fecha de Ingreso: febrero-2009
Mensajes: 443
Antigüedad: 15 años, 2 meses
Puntos: 1
configurar php en utf8 i fedora14

he puesto en los 3 default_charser='UTF-8' despues he hecho service restart httpd

/etc/php.ini
/usr/share/doc/php-common-5.3.4/php.ini-development
/usr/share/doc/php-common-5.3.4/php.ini-production

tanto en html, como mysql i el editor ya utilizo utf-8 pero en php no hay maneras
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>

cd /etc/my.cnf
[client]
default_character_set=utf8


[mysqld]
default_storage_engine=InnoDB
default_character_set=utf8

si hago phpinfo()
Accept-Charset iso-8859-1, utf-8, utf-16, *;q=0.1

Local Value Master Value
default_charset no value no value

SERVER["HTTP_ACCEPT_CHARSET"] iso-8859-1, utf-8, utf-16, *;q=0.1

Content-Type text/html; charset=UTF-8