Jump to content

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


guarriman

Recommended Posts

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?

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.