for some reason it does not work…well, it returns the proper date in French so that works but the month of August which has an accent in it does not process properly
Maybe your server doesn’t understand ‘[font=“Courier New”]fr_FR.UTF-8[/font]’ locale? Have you tested with ‘[font=“Courier New”]fr_FR[/font]’ first, especially that you utf8_encode it later?
In any case, you may want to include all locale variations as successive strings, or array values:
You would have needed [font=“Courier New”]utf8_encode[/font] if your server didn’t support/have UTF8 locale (as in [font=“Courier New”]$locale = ‘fr_FR’;[/font] for instance).