So what most probably happened is that FileReader.readAsBinaryString() defaults to FileReader.readAsText() since it’s deprecated. At least that is what I saw in Chromium. As soon as I used readAsArrayBuffer the problem went away.
readAsArrayBuffer
So what most probably happened is that FileReader.readAsBinaryString() defaults to FileReader.readAsText() since it’s deprecated. At least that is what I saw in Chromium. As soon as I used
readAsArrayBufferthe problem went away.