From: Dan Nelson Date: January 30 2003 11:33pm Subject: Re: Character problems List-Archive: http://lists.mysql.com/mysql/131266 Message-Id: <20030130233315.GG17299@dan.emsphone.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit 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: Without that, a browser is free to use whatever it wants. -- Dan Nelson dnelson@stripped