I have a .php that retrieves the publish_up field and echo it. But it doesn't display the special characters such as é,è,û... Instead I get a
�. I have set this
content="text/html; charset=utf-8" but it doesn't solve the problem.
Thanks a lot for your help!
<html> <head> <meta http-equiv="Content-type" content="text/html; charset=utf-8"> </head> <body> <?php $oldLocale = setlocale(LC_TIME, 'en_US'); echo strftime("%a %d %b %Y", strtotime($jitem1->publish_up)); setlocale(LC_TIME, $oldLocale); ?> </body> </html>