I'm trying a problem with unknown characters on the date of a website, I've already put all the parameters I thought would fix the problem, but it keeps happening.
"SATURDAY, APRIL 16, 2016" is coming out "S? BADO, APRIL 16, 2016"
How can I fix this? Thanks
<?php
setlocale(LC_ALL, 'pt_BR', 'pt_BR.utf-8', 'pt_BR.utf-8', 'portuguese');
date_default_timezone_set('Europe/Lisbon');
echo mb_strtoupper(strftime('%A, %d de %B de %Y', strtotime('today')), 'UTF-8');
?>