Q:

How to convert French accented words into codes for Magento 1.8?

I have two versions for my store - English and French. And I am doing the translation from English to French in app/locale/fr_FR/Mage_Page.csv
I notice that I have to use some codes for certain French characters, such as En-tÃªte de page for tête de page.
So if I have French words like 100% Magasinage sécurisé, how can use convert it into codes like En-tÃªte de page?

A:

I think it can come from the encoding of your file Mage_Page.php. If you use linux, I think that you have it in your file's properties and if you use Windows, you can check with notepad++. Richard B. gave a good link that in my opinion might solve the problem.
I'm using french on all the magento website that we produce and I do not have any problem like that so it must come from the encoding of your file.
One last thing : if your file is utf8 encoded, it means that your text was imported from a different one and editor did what it could but not successfully to change the characters (can happen with text from excel).

