From f22558c5137218c2105c2d5eedc88189e1e79210 Mon Sep 17 00:00:00 2001 From: Luc Didry Date: Mon, 17 Sep 2018 09:24:24 +0200 Subject: [PATCH] Fix #6 - UTF8 problems with JSON import --- client/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/script.js b/client/script.js index 319d71b..86bc0e3 100644 --- a/client/script.js +++ b/client/script.js @@ -955,7 +955,7 @@ $(function() { data: JSON.parse(text) }); }; - fr.readAsBinaryString(f); + fr.readAsText(f); }) $('#create-revision').click(function() {