From a46f0c2ba9537d91944b3734f18a3fbfb822c9f8 Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Thu, 13 Oct 2022 10:29:29 +0100 Subject: [PATCH] js: Read save files as text rather than binary strings If I'm going to insist they're text I should be consistent about it. --- emccpre.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emccpre.js b/emccpre.js index aa2803e..7bdc2d6 100644 --- a/emccpre.js +++ b/emccpre.js @@ -391,7 +391,7 @@ function initPuzzle() { var string = reader.result; load_game(string, string.length); }); - reader.readAsBinaryString(file); + reader.readAsText(file); } dialog_cleanup(); }, function(event) {