diff --git a/example.php b/example.php
index <HASH>..<HASH> 100644
--- a/example.php
+++ b/example.php
@@ -20,4 +20,6 @@ $root->appendChild(Node::create()->setNodeName('anotherOne'));
 
 $renderer = new Renderer();
 $renderer->setRoot($root);
+
+header("Content-type: application/xml; charset=UTF8");
 echo $renderer->getXML();
Content-type header to have XML formating in browser