You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "vldmrrrr (JIRA)" <ji...@apache.org> on 2015/10/07 16:08:27 UTC

[jira] [Created] (CB-9763) Plugin File:Windows:readAsText may throw uncought encoding excpetion

vldmrrrr created CB-9763:
----------------------------

             Summary: Plugin File:Windows:readAsText may throw uncought encoding excpetion
                 Key: CB-9763
                 URL: https://issues.apache.org/jira/browse/CB-9763
             Project: Apache Cordova
          Issue Type: Bug
          Components: Plugin File
    Affects Versions: 3.5.0
         Environment: Windows
            Reporter: vldmrrrr


readAsText on windows uses Windows.Security.Cryptography.CryptographicBuffer.convertBinaryToString to convert buffer to requested exception. When such conversion can not be mayed, it thows exception, that is currently not handled. The function shall fail with FileError.ENCODING_ERR instead.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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