[TIMOB-8370] Android: Titanium.Network.HTTPClient cannot parse Windows-1255 encoded pages
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Open |
Resolution | Unresolved |
Affected Version/s | Release 3.1.0 |
Fix Version/s | n/a |
Components | iOS |
Labels | n/a |
Reporter | Gilad Novik |
Assignee | Unknown |
Created | 2012-03-28T15:20:16.000+0000 |
Updated | 2018-03-06T18:57:55.000+0000 |
Description
Problem Description
When using HTTPClient to fetch Hebrew pages, the resulting string is null.Actual Results
Result is null, even if you got something from the webservice.Expected results
Working fine.Test Case
var win = Ti.UI.createWindow();
var client = Ti.Network.createHTTPClient({
onload : function(e) {
Ti.API.info(this.responseText); // this will always output 'null'
}
});
client.open("GET", 'http://rotter.net/cgi-bin/listforumf.pl');
client.send();
win.open();
Issue reproduces Tested with Titanium Studio, build: 3.0.1.201212181159 Titanium SDK version: 3.1.0 Titanium SDK version: 3.0.2 iOS iPhone Simulator: iOS SDK version: 6.0