You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Nikhil Khandelwal (JIRA)" <ji...@apache.org> on 2015/10/23 15:43:27 UTC
[jira] [Resolved] (CB-9763) Plugin File:Windows:readAsText may
throw uncought encoding excpetion
[ https://issues.apache.org/jira/browse/CB-9763?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nikhil Khandelwal resolved CB-9763.
-----------------------------------
Resolution: Fixed
> 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: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org