The following code is returning:
pontuação
I'd like it to return:
pontuação
Code:
$msg = texto("pontuação");
echo $msg;
function texto($string){
return mb_convert_encoding($string, 'utf-8', 'iso-8859-1');
}
Can someone please help with this?