You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/07/28 13:55:47 UTC

[GitHub] [cordova-plugin-file] mbohlaender opened a new issue #339: Encoding error (code 5) - FileReader.readAsText on iOS 12.1.4

mbohlaender opened a new issue #339: Encoding error (code 5) - FileReader.readAsText on iOS 12.1.4
URL: https://github.com/apache/cordova-plugin-file/issues/339
 
 
   # Bug Report
   Since iOS 12.1.4 we are having troubles to read files with FileReader.readAsText().
   
   ## Problem
   readAsText returns null and an error with code 5 (encoding err?) will be thrown. No problems on android or former iOS version.
   
   ### What is expected to happen?
   readAsText() normally ends with onloadend delivering the content of a file as a string.
   
   ### What does actually happen?
   onloadend delivers null and onerror will be called aswell with the encoding err (code 5).
   
   ## Information
   Same code - no problems at all 
   
   
   ### Command or Code
   <!-- What command or code is needed to reproduce the problem? -->
   
   
   
   ### Environment, Platform, Device
   <!-- In what environment, on what platform or on which device are you experiencing the issue? -->
   
   
   
   ### Version information
   <!-- 
   What are relevant versions you are using?
   For example:
   Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins 
   Other Frameworks: Ionic Framework and CLI version
   Operating System, Android Studio, Xcode etc.
   -->
   
   
   
   ## Checklist
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [x] I searched for existing GitHub issues
   - [x] I updated all Cordova tooling to most recent version
   - [x] I included all the necessary information above
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org