Fix UTF-8 encoding before JSON export

This commit is contained in:
Eric Fredj
2016-04-05 16:30:08 +02:00
parent 04ffc7fb11
commit 206c2a734e
2 changed files with 22 additions and 1 deletions

View File

@ -908,7 +908,7 @@ class Poche
$entries = $this->store->retrieveAllWithTags($this->user->getId());
if ($entries) {
echo $this->tpl->render('export.twig', array(
'export' => Tools::renderJson($entries),
'export' => Tools::renderJson(Tools::utf8ize($entries)),
));
Tools::logm('export view');
} else {