当我尝试使用readAsText方法读取文件内容时,报编码错误
后来使用readAsDataURL方法读取文件内容能获得

chwmqq
- 发布:2015-09-10 17:11
- 更新:2016-05-18 13:22
- 阅读:3130

[LOG] : Read success:{"type":"loadend","bubbles":false,"cancelBubble":false,"cancelable":false,"lengthComputable":false,"loaded":0,"total":0,"target":{"fileName":"/Users/janc/Library/Developer/CoreSimulator/Devices/5D2346E9-8781-420E-9E79-5439C0BBD93F/data/Containers/Data/Application/072B35AF-2936-4453-8156-32C509BB0E0C/Library/Pandora/apps/HBuilder/doc/audio/2016431463540692261","readyState":2,"result":null,"error":{"code":5,"message":"编码错误"},"onloadstart":null,"onprogress":null,"onload":null,"onabort":null,"onerror":null}}
panpanhtai
求能读取二进制文件或者能sha签名
2015-12-07 09:33