Commit 6a18aa74 authored by tbrehm's avatar tbrehm
Browse files

Fixed UTF-8 encoding problem in language editor.

parent b17c2321
......@@ -85,7 +85,7 @@ $app->tpl->setVar("file_path", $file_path);
$keyword_list = array();
if(isset($wb) && is_array($wb)) {
foreach($wb as $key => $val) {
$keyword_list[] = array('key' => $key, 'val' => htmlentities($val));
$keyword_list[] = array('key' => $key, 'val' => htmlentities($val,ENT_COMPAT | ENT_HTML401,'UTF-8'));
}
$app->tpl->setLoop('records', $keyword_list);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment