diff --git a/src/scanner/classes/ScannerController.inc.php b/src/scanner/classes/ScannerController.inc.php
index e7df1f1..bc30903 100644
--- a/src/scanner/classes/ScannerController.inc.php
+++ b/src/scanner/classes/ScannerController.inc.php
@@ -54,7 +54,7 @@ private function getXMLReport()
// retrieve list of files and append it to the report
$tmpXmlDoc = new DOMDocument();
- $tmpXmlDoc->loadXML('' . $fileScanner->getXMLFilelist() . '');
+ $tmpXmlDoc->loadXML('' . utf8_encode($fileScanner->getXMLFilelist()) . '');
$dom->documentElement->appendChild($dom->importNode($tmpXmlDoc->documentElement, true));
@@ -110,4 +110,4 @@ public function start()
}
-}
\ No newline at end of file
+}