Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-8370] Android: Titanium.Network.HTTPClient cannot parse Windows-1255 encoded pages

GitHub Issuen/a
TypeBug
PriorityLow
StatusOpen
ResolutionUnresolved
Affected Version/sRelease 3.1.0
Fix Version/sn/a
ComponentsiOS
Labelsn/a
ReporterGilad Novik
AssigneeUnknown
Created2012-03-28T15:20:16.000+0000
Updated2018-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();

Comments

  1. jithinpv 2013-04-17

    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

JSON Source