designerleagues — 2012-11-22T21:02:42-05:00 — #1
I am having a problem with putting French text on one of my php file for my Wordpress site. The special texts appears to be a special character. If the text is on a normal html file it looks okay!
For example, the text should be:
Avantage : Bénéficiez d’un tarif exclusif de 12.38 €/ heure et
But when uploaded it appears like this:
Avantage : B�n�ficiez d�un tarif exclusif de 12.38 €/ heure
dresden_phoenix — 2012-11-27T04:49:44-05:00 — #2
Make sure you have the correct charset metatag. <meta http-equiv="content-type" content="text/html;charset=iso-8859-1">, should do it. but that's off the top of my head.
kduv — 2012-11-27T14:20:18-05:00 — #3
You want UTF-8 for your encoding. Set it in your HTML, set it in PHP using the header() function, and make sure your code editor is using UTF-8.