1. 6
  1.  

  2. 5

    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.