{ "id": "97698", "key": "AC-2901", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-07-26T16:38:05.000+0000", "created": "2012-07-19T22:11:55.000+0000", "labels": [ "api" ], "versions": [], "issuelinks": [], "assignee": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2016-03-08T07:47:52.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "h2. Overview\r\nThe result of Titanium.Network.responseXML string is garbled characters when charset is not utf-8.\r\n\r\nh2. Sample Code\r\n\r\nI make sample xml (charset is Shift_JIS) on my website.\r\n\r\n{code:js}\r\nvar xhr = Titanium.Network.createHTTPClient();\r\nxhr.open('GET','http://kangaechu.com/xml/shiftjis.xml');\r\n//xhr.open('GET','http://kangaechu.com/xml/utf-8.xml');\r\n\r\nxhr.onload = function(){\r\n //Ti.API.info(this.responseText);\r\n var titles = this.responseXML.getElementsByTagName('title');\r\n Ti.API.info(titles.length);\r\n for (var i=0; i