srt is utf-8
This commit is contained in:
parent
328b3752fc
commit
dd9892020c
2 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@
|
||||||
<script type="text/javascript" src="https://oxjs.org/min/Ox.js"></script>
|
<script type="text/javascript" src="https://oxjs.org/min/Ox.js"></script>
|
||||||
<script type="text/javascript" src="js/player.js"></script>
|
<script type="text/javascript" src="js/player.js"></script>
|
||||||
<script type="text/javascript" src="js/staticfuncs.js"></script>
|
<script type="text/javascript" src="js/staticfuncs.js"></script>
|
||||||
<script type="text/javascript" src="js/classes.js"></script>
|
<script type="text/javascript" src="js/classes.js?1"></script>
|
||||||
<script type="text/javascript" src="js/app.js"></script>
|
<script type="text/javascript" src="js/app.js"></script>
|
||||||
<script type="text/javascript" src="js/ox.extra.js"></script>
|
<script type="text/javascript" src="js/ox.extra.js"></script>
|
||||||
<script type="text/javascript" src="js/dnd.js"></script>
|
<script type="text/javascript" src="js/dnd.js"></script>
|
||||||
|
|
|
@ -444,5 +444,5 @@ function loadSrt(file) {
|
||||||
reader.onload = function(data) {
|
reader.onload = function(data) {
|
||||||
textArea.fromSrt(data.target.result);
|
textArea.fromSrt(data.target.result);
|
||||||
};
|
};
|
||||||
reader.readAsBinaryString(file);
|
reader.readAsText(file);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue