I was developing a french website for a customer yesterday and at the same time, when I was templating the site to php, I found out that all the french accents got turned into a question mark, � <– this really..
What’s wrong?
I already had UTF-8 in my headers
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
and it was still not working.
Resolution:
It turns out that I had not saved the file in UTF-8, so I had to open up Notepad++ which is my main coding IDE, and go to Encoding -> Convert to UTF-8 without BOM
Solved!
That’s why it’s better to use Notepad++ instead of Dreamweaver 😀 😀 .. I got this problem some days ago -_- !
It is at the moment my favorite coding interface, because of the simplicity and code coloring.
Thank you ! by the way i love your blog and websites. Keep it up! Pretty neat !!