How to properly add French text on php file for my Wordpress site?

Hi guys,
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

Please help!

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.

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.