In the last episode (Jan 30), Maximo Migliari said: > Note that for the name field, the characters ç, í, â, are all appearing > correctly. > > Now when I select this information from PHP and print it as a webpage, this > is what I get: > ? instead of â, > ¡ instead of í > ? instead of ç > > What's up? I used to do this before without any problems. I'm assuming > this is some character encoding issue - however, I don't know if its in PHP > or in MySQL the problem.
Whenver you have non-ASCII characters in a web page, make sure you specify a character set in the Content-Type header: <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> Without that, a browser is free to use whatever it wants. -- Dan Nelson [EMAIL PROTECTED] --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php