{ "id": "61955", "key": "TIMOB-1323", "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": "11224", "name": "Release 1.4.0", "archived": true, "released": true, "releaseDate": "2010-07-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:55:52.000+0000", "created": "2011-04-15T02:49:23.000+0000", "priority": { "name": "Trivial", "id": "5" }, "labels": [ "defect", "imageview", "ios", "iphone", "unicode" ], "versions": [], "issuelinks": [], "assignee": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:55:52.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}

A customer reported this on the helpdesk. When trying to use\nunicode characters in the image property of the imageView.

\n

Code tried:
\nvar win = Ti.UI.currentWindow;

\n

var test_img = Titanium.UI.createImageView({

\n
\nimage:'http://www.zoomout.gr/assets/media/PICTURES/ΜΟΥΣΙΚΗ/651_thumb1.jpg'\n
\n

}); win.add(test_img);

\n

This error is generated:
\n[ERROR] Failed to load image: (null),\nError: Error Domain=ASIHTTPRequestErrorDomain Code=5 \"Unable to\ncreate request (bad url?)\" UserInfo=0x7a69140\n{NSLocalizedDescription=Unable to create request (bad url?)}

\n

This happens on the iPhone, OS 4 sdk 1.3.3

{html}", "attachment": [], "flagged": false, "summary": "ImageViews cannot use unicode string in the image property", "creator": { "name": "ctredway1", "key": "ctredway1", "displayName": "ctredway", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ctredway1", "key": "ctredway1", "displayName": "ctredway", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "125338", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Pushing to 1.5. Release is theoretically tomorrow, this will not\nbe done in time.

{html}", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:49:24.000+0000", "updated": "2011-04-15T02:49:24.000+0000" }, { "id": "125339", "author": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

(from [59e9a4e08410b0ce4d428df4c27c32032b0a0b73])\n[#1323 state:resolved] Handle URL strings which\nmight need encoding. \nhttp://github.com/appcelerator/titanium_mobile/commit/59e9a4e08410b...

{html}", "updateAuthor": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:49:24.000+0000", "updated": "2011-04-15T02:49:24.000+0000" }, { "id": "125340", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Is this still broken? I tested it and it worked.

{html}", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:49:25.000+0000", "updated": "2011-04-15T02:49:25.000+0000" }, { "id": "125341", "author": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

(from [ab53b05bb6343294b784ef38e40fbc0ef47ee5ed])\n[#1323 state:resolved] fix URL encoding that's\nstill safe for other urls - added new test case fire analytics\nrelated to suspend/resume
\n\nhttp://github.com/appcelerator/titanium_mobile/commit/ab53b05bb6343...

{html}", "updateAuthor": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:49:25.000+0000", "updated": "2011-04-15T02:49:25.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }