Usi htmlentities($str) per stampare quel valore? Se siģ, prova con questo:
htmlentities($str, ENT_COMPAT, 'UTF-8');