[AC-2917] responseText / responseXML is null if html encoding is "euc-jp" (a Japanese encoding type)
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Needs more info |
Resolution Date | 2011-10-20T13:00:41.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Titanium SDK & CLI |
Labels | encoding, euc-jp, japanese, network |
Reporter | Satoshi Tanaka |
Assignee | Paul Dowsett |
Created | 2011-09-12T01:41:11.000+0000 |
Updated | 2016-03-08T07:47:53.000+0000 |
Description
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);
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.
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