{ "id": "60665", "key": "TIMOB-33", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "11258", "description": "Holding Pen for Triaged Issues", "name": "Backlog", "archived": false, "released": false } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:50:10.000+0000", "created": "2011-04-15T02:22:44.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "rseagraves", "key": "rseagraves", "displayName": "Reggie Seagraves", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-10-02T03:10:25.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "{html}

Assigned to \nTender issue #60. As reported in Tender:

\n
\n

My app fails to build when I include a Unicode character in\ntiapp.xml.

\n

Here's a fragment of my XML:

\n
\n    <window>\n        <id>suite</id>\n        <icon>suite_button.png</icon>\n        <title>Have2…</title>\n
\n

The word \"Have2\" is followed by the Unicode ellipsis character.\nThe build error is

\n
\nTraceback (most recent call last):\nFile \"/Library/Application Support/Titanium/mobilesdk/osx/0.4.2/iphone/builder.py\", line 309, in\nmain(sys.argv)\nFile \"/Library/Application Support/Titanium/mobilesdk/osx/0.4.2/iphone/builder.py\", line 166, in main\nadd_plist(os.path.join(iphone_dir,'Resources'))\nFile \"/Library/Application Support/Titanium/mobilesdk/osx/0.4.2/iphone/builder.py\", line 140, in add_plist\nti = TiAppXML(tiapp_xml)\nFile \"/Library/Application Support/Titanium/mobilesdk/osx/0.4.2/iphone/../tiapp.py\", line 64, in __init__\nwp = get_window_properties(window)\nFile \"/Library/Application Support/Titanium/mobilesdk/osx/0.4.2/iphone/../tiapp.py\", line 35, in get_window_properties\nwp[w.nodeName]=getText(w.childNodes)\nFile \"/Library/Application Support/Titanium/mobilesdk/osx/0.4.2/iphone/../tiapp.py\", line 13, in getText\nreturn str(rc)\nUnicodeEncodeError: 'ascii' codec can't encode character u'…' in position 5: ordinal not in range(128)\n
\n

The problem was worked around by changing the ellipsis to three\nperiods.

\n
{html}", "attachment": [], "flagged": false, "summary": "Via Tender: Unicode error with tiapp.xml", "creator": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "122679", "author": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

this should be fixed in 0.8, need to retest this specific\ncase

{html}", "updateAuthor": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:22:45.000+0000", "updated": "2011-04-15T02:22:45.000+0000" }, { "id": "122680", "author": { "name": "netspy", "key": "netspy", "displayName": "netspy", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

The bug is in SDK 1.4 still recent!

{html}", "updateAuthor": { "name": "netspy", "key": "netspy", "displayName": "netspy", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:22:45.000+0000", "updated": "2011-04-15T02:22:45.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }