[
https://issues.apache.org/jira/browse/CB-9840?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15045652#comment-15045652
]
ASF GitHub Bot commented on CB-9840:
------------------------------------
Github user dblotsky commented on a diff in the pull request:
https://github.com/apache/cordova-labs/pull/10#discussion_r46872038
--- Diff: server.js ---
@@ -6,6 +6,11 @@ var formidable = require('formidable'),
var DIRECT_UPLOAD_LIMIT = 32; // bytes
+// convert from UTF-8 to ISO-8859-1
+var LATIN1_SYMBOLS = '¥§©ÆÖÑøøø¼';
--- End diff --
This string is copied verbatim in _another repository_, which is very
difficult to maintain. Is there a way to make the test independent of the
string that gets passed?
> Fallback file-transfer uploadResponse encoding to latin1 in case not encoded
> with UTF-8 on iOS
> ----------------------------------------------------------------------------------------------
>
> Key: CB-9840
> URL: https://issues.apache.org/jira/browse/CB-9840
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugin File Transfer
> Reporter: Sergey Shakhnazarov
> Assignee: Sergey Shakhnazarov
> Priority: Minor
> Labels: ios
>
> Otherwise the response is empty in the current version.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]