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..
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.
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