I\'m working on a site where the user can switch between English and French. To output the date of posts.
If the user chooses French I use:
setlocale
If you display your page with utf8 encoding, you want to get utf8 out of strftime.
If php's charset is utf8, then you're cooking. If not, you can :
utf8_encode() the output of strftime.
append '.utf8' to your locale statement if this locale is installed on your system, as in setlocale(LC_ALL, 'fr_FR.utf8')
change php's default charset, by putting the line AddDefaultCharset UTF-8 in your php.ini or your .htaccess