Fix encoding problem when making an answer
This commit is contained in:
parent
c70382760a
commit
31679ec211
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ if (!empty($view))
|
|||
$doc = new DOMDocument();
|
||||
$doc->load(DESTINATION . "/" . $k . ".xml");
|
||||
|
||||
echo htmlentities($doc->getElementsByTagName("content")->item(0)->textContent);
|
||||
echo htmlentities(utf8_decode($doc->getElementsByTagName("content")->item(0)->textContent));
|
||||
$language = strtolower($doc->getElementsByTagName("language")->item(0)->textContent);
|
||||
$ref = $k;
|
||||
}
|
||||
|
|
Reference in a new issue