se me olvido el:
$dom->encoding = 'utf-8';
Código PHP:
Ver original$dom = new DOMDocument('1.0', 'utf-8');
$dom->loadXML($data);
$dom->encoding = 'utf-8';
header('Content-type: text/html; charset=utf-8'); echo $dom->saveXML();
de todas formas es recomendable trabajar siempre con ut-8 así no tendras que hacer esas chapuzas del utf8_encode etc... ;)