Special chars & UTF-8: sometimes ok, sometimes wrong

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
guarriman
Forum Commoner
Posts: 44
Joined: Thu Nov 03, 2005 4:11 am

Special chars & UTF-8: sometimes ok, sometimes wrong

Post by guarriman »

Hi.

Working with PHP 4.4 and mySQL 4.1, I've got some texts stored in a UTF-8 table with special chars.

I serve a UTF-8 header within my HTML, Apache is configured to serve UTF-8 and PHP scripts are saved in UTF-8 charset.

However, sometimes I get 'España' and other times 'Espa�a'. The difference? I press F5 (Refresh) bottom on my web browser (I use Firefox and Internet Explorer).

Any similar experience?
Post Reply