Open derjoker opened 6 years ago
Temporary solution.
reader.readAsBinaryString(file)
// reader.readAsArrayBuffer(file)
Note that this method was once removed from the File API specification, but re-introduced for backward compatibility. Using FileReader.readAsArrayBuffer() is recommended.
String.fromCharCode.apply(null, new Uint8Array(reader.result))