Titanium JIRA Archive
Appcelerator Community (AC)

[AC-2917] responseText / responseXML is null if html encoding is "euc-jp" (a Japanese encoding type)

GitHub Issuen/a
ResolutionNeeds more info
Resolution Date2011-10-20T13:00:41.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsencoding, euc-jp, japanese, network
ReporterSatoshi Tanaka
AssigneePaul Dowsett


I develop my app using Titanium.Network.createHttpClient. My app wants to get html that encoding is EUC-JP (not x-euc). But responseText and responseXML is null. TiNetworkHTTPClientProxy.m has x-euc entry but doesn't have euc-jp entry. In Japan, euc-jp is common when setting encode type. http://www.iana.org/assignments/character-sets So, Please add below line on TiNetworkHTTPClientProxy.m bq. TRYENCODING("euc-jp",6,NSJapaneseEUCStringEncoding);


  1. Anthony Decena 2011-10-20

    Thank you for raising this ticket. If this is still an issue, then we need all the information listed in the [Jira Ticket Checklist](http://wiki.appcelerator.org/display/guides/Contributing+to+Titanium#ContributingtoTitanium-Summary%3AJiraTicketChecklist) in order to accept the ticket. In this case, we will also need a complete code example as well. Once the ticket is complete, we will look into moving it to the main project. Thank you.
  2. Paul Dowsett 2012-02-17

    Closing due to inactivity. If this issue still exists, please raise a new ticket, including all the information in the [JIRA Ticket Checklist](https://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report#HowtoSubmitaBugReport-JIRATicketChecklist) to ensure that we can escalate it quickly. Read [How to Submit a Bug Report](https://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report) if you have not read it before, and always start a ticket using the [JIRA Ticket Template](https://wiki.appcelerator.org/display/guides/JIRA+Ticket+Template). Thanks in advance

JSON Source