From dd9892020c7ebc831ffb688c2dc523cba5546d15 Mon Sep 17 00:00:00 2001 From: j Date: Tue, 23 Feb 2016 18:03:07 +0530 Subject: [PATCH] srt is utf-8 --- index.html | 2 +- js/classes.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 77b4738..822f5e9 100644 --- a/index.html +++ b/index.html @@ -7,7 +7,7 @@ - + diff --git a/js/classes.js b/js/classes.js index c4b3c96..1f1e8f5 100644 --- a/js/classes.js +++ b/js/classes.js @@ -444,5 +444,5 @@ function loadSrt(file) { reader.onload = function(data) { textArea.fromSrt(data.target.result); }; - reader.readAsBinaryString(file); + reader.readAsText(file); }