diff options
author | Eric Fredj <efredj@octo.com> | 2016-04-05 16:30:08 +0200 |
---|---|---|
committer | Eric Fredj <efredj@octo.com> | 2016-04-05 20:03:57 +0200 |
commit | 206c2a734e2a0d100af6d772d90b01c5cb8fe870 (patch) | |
tree | b39f4a6e357b68e3b2f999ab9560941005150450 /inc/poche/Poche.class.php | |
parent | 04ffc7fb11f9e98991ee5bc0511ce5d96a7755c7 (diff) | |
download | wallabag-206c2a734e2a0d100af6d772d90b01c5cb8fe870.tar.gz wallabag-206c2a734e2a0d100af6d772d90b01c5cb8fe870.tar.zst wallabag-206c2a734e2a0d100af6d772d90b01c5cb8fe870.zip |
Fix UTF-8 encoding before JSON export
Diffstat (limited to 'inc/poche/Poche.class.php')
-rwxr-xr-x | inc/poche/Poche.class.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/poche/Poche.class.php b/inc/poche/Poche.class.php index 400857b4..1476d158 100755 --- a/inc/poche/Poche.class.php +++ b/inc/poche/Poche.class.php | |||
@@ -908,7 +908,7 @@ class Poche | |||
908 | $entries = $this->store->retrieveAllWithTags($this->user->getId()); | 908 | $entries = $this->store->retrieveAllWithTags($this->user->getId()); |
909 | if ($entries) { | 909 | if ($entries) { |
910 | echo $this->tpl->render('export.twig', array( | 910 | echo $this->tpl->render('export.twig', array( |
911 | 'export' => Tools::renderJson($entries), | 911 | 'export' => Tools::renderJson(Tools::utf8ize($entries)), |
912 | )); | 912 | )); |
913 | Tools::logm('export view'); | 913 | Tools::logm('export view'); |
914 | } else { | 914 | } else { |