Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-235] iPhone - Encoding in Networkmodule

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionInvalid
Resolution Date2011-04-15T02:25:55.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsiOS
Labelsencoding, iso-8859-1, utf-8
ReporterMarc Bender
AssigneeJeff Haynie
Created2011-04-15T02:25:55.000+0000
Updated2017-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)

Comments

  1. Blain Hamon 2011-04-15

    Changes in codebase have mooted this since then.

  2. Lee Morris 2017-03-09

    Closing ticket as invalid.

JSON Source