certo

header('Content-Type: application/xhtml+xml; charset=UTF-8');


ovviamente il content type adattalo alle tue esigenze