I have this string: Deportivo La Coruña
, if I return it I'll get: Deportivo la coruña
, so I tried to handle the encoding in this way:
$homeName = "Deportivo La Coruña";
return mb_convert_encoding($homeName, 'UTF-8', 'UTF-8'),
but same problem. I tried also utf8_encode
but same result. How can I fix this issue without installing external libs?