[
https://issues.apache.org/jira/browse/CB-9763?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14964172#comment-14964172
]
ASF GitHub Bot commented on CB-9763:
------------------------------------
Github user asfgit closed the pull request at:
https://github.com/apache/cordova-plugin-file/pull/137
> 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 made,
> it throws 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: [email protected]
For additional commands, e-mail: [email protected]