MySQL Forums
Forum List  »  Spanish

Re: Leer y guardar caracteres cirílicos desde Access a MySQL
Posted by: Miguel Perez
Date: January 23, 2008 02:34AM

En el servidor están en UTF-8, pero, ¿lo está el cliente? Desafortunadamente el cliente también tiene juegos de caracteres diferentes, así que nada más conectarte tendrás que establecer el correcto, mandando la consulta "SET NAMES utf8". También asegúrate de que el PHP está trabajando debidamente en UTF-8 (aquí puedes ver las opciones necesarias: http://www.nicknettleton.com/zine/php/php-utf-8-cheatsheet ) y por último, que la interfaz de la aplicación está en UTF-8. En este caso, la página web generada debe ser UTF-8, y para asegurarte, o bien puedes configurar el servidor web para que lo haga, o bien puedes mandar la cabecera adecuada con:

header('Content-Type: text/html; charset=utf8');

Un saludo,

Miguel Pérez
Afina Sistemas - Partner de MySQL en España

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Leer y guardar caracteres cirílicos desde Access a MySQL
3408
January 23, 2008 02:34AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.