appcelerator/titanium_mobile — pull request #2490 by joshthecoder (2012-06-28 19:49:09+00:00)
Title: [TIMOB-8906] Android: createHttpClient cannot determine the charset encoding by html meta tag

This improves how we decode text in HTTPClient.responseText. Added support
for detecting the charset in XML and HTML documents like the iOS platform provides.

See the JIRA ticket for a couple test cases. Try the HTML test in the description.
Make sure the test is properly decoded for each charset. Also try running the
XML test case that is attached. Again make sure the text is correct for each charset.