[ https://issues.apache.org/jira/browse/JCLOUDS-1509?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16903070#comment-16903070 ]
ASF subversion and git services commented on JCLOUDS-1509: ---------------------------------------------------------- Commit a248697c0668f8f1c442b04e3833d876b125dc2c in jclouds's branch refs/heads/master from Roded Bahat [ https://gitbox.apache.org/repos/asf?p=jclouds.git;h=a248697 ] JCLOUDS-1509: read AWS response data with the UTF-8 charset explicitly AWS response data is encoded in UTF-8. Creating a String from said data using the JVM's default charset results in incorrect encoding on environments in which the JVM's default charset is not UTF-8. https://issues.apache.org/jira/browse/JCLOUDS-1509 > ParseAWSErrorFromXmlContent uses the default charset > ---------------------------------------------------- > > Key: JCLOUDS-1509 > URL: https://issues.apache.org/jira/browse/JCLOUDS-1509 > Project: jclouds > Issue Type: Bug > Reporter: Roded Bahat > Priority: Major > > ParseAWSErrorFromXmlContent handleError() creates a String from the data byte > array using the default charset. This breaks on environment in which the > default char set is not UTF-8 causing JClouds to fail refining the AWS > exception. > I suspect that the default AWS response charset is UTF-8: > [https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html] > -- This message was sent by Atlassian JIRA (v7.6.14#76016)