Encoding issue
Julien PHAM - October 20, 2008 - 13:27
Hi,
I have an issue with my website, look at this page:
http://www.mindenice.fr:88/actualites/marie-raucaz-recue-chevalier-dans-...
This website is UTF-8.
Look at the bottom, where there are dates for links, you notice the strange characters instead of août?
In my template I have :
setlocale(LC_TIME, "fr_FR");
And something like :
strftime('%A %d %B %Y',$linknode->created)
So how comes I have this strange character encoding? How can I fix this?
Thanks

Try "fr_FR.utf8" or
Try "fr_FR.utf8" or "fr_FR.UTF-8" (either should work).
Mmm I have tried both and
Mmm I have tried both and with either one I'm back to english local, not the french one...
Edit : ok I found that was because I didn't have the utf8 locale in my gentoo system, I added it and now it works.