How to format the day of the week so that no symbol appears in PHP

4

How to change the symbol that appears on Tuesday by a Ç ?

Mycodebelow:

<?phpsetlocale(LC_ALL,"pt_BR", "pt_BR.utf-8", "portuguese" );
    date_default_timezone_set('America/Sao_Paulo');
    echo ucwords(strftime("%A "));
    $dt = date('d/m/Y', time());
    echo $dt;
?>
    
asked by anonymous 22.08.2017 / 17:14

1 answer

7

In this case, just call the utf8_encode

Looking like this:

echo ucwords(utf8_encode(strftime("%A ")));
    
22.08.2017 / 17:58