[TIMOB-235] iPhone - Encoding in Networkmodule
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Medium |
| Status | Closed |
| Resolution | Invalid |
| Resolution Date | 2011-04-15T02:25:55.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | iOS |
| Labels | encoding, iso-8859-1, utf-8 |
| Reporter | Marc Bender |
| Assignee | Jeff Haynie |
| Created | 2011-04-15T02:25:55.000+0000 |
| Updated | 2017-03-09T21:10:29.000+0000 |
Description
Please add the following lines to the NetworkModule.m
=> OLD
TRYENCODING("windows-1252",12,NSWindowsCP1252StringEncoding);
TRYENCODING("shift_jis",9,NSShiftJISStringEncoding);
TRYENCODING("utf-8",5,NSUTF8StringEncoding);
=> NEW
TRYENCODING("utf-8",4,NSUTF8StringEncoding);
TRYENCODING("iso-8859-1",5,NSISOLatin1StringEncoding);
This will make it possible to got ISO-Encoded results from the
HTTPClient....
I have it in my own form source compiled mobile-sdk and it works!
:-) (without not)
Changes in codebase have mooted this since then.
Closing ticket as invalid.