Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-13638] BlackBerry: TableViewRow.title does not handle Unicode characters.

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2013-04-20T06:03:11.000+0000
Affected Version/sRelease 3.1.0
Fix Version/s2013 Sprint 08 BB, 2013 Sprint 08, Release 3.2.0
ComponentsBlackBerry
Labelsqe-testadded, sdk-bb
ReporterJosh Roesslein
AssigneeJosh Roesslein
Created2013-04-20T03:32:51.000+0000
Updated2014-06-19T12:44:31.000+0000

Description

When setting a title on a table view row that contains unicode characters they are not properly decoded from JavaScript causing incorrect text drawing.

Test Case

var win = Ti.UI.createWindow();

var tableView = Ti.UI.createTableView();
win.add(tableView);

var row = Ti.UI.createTableViewRow({
  title: 'تسجيل الدخو'
});
tableView.setData([row]);

win.open();
Expected: Should see a row with a title properly displaying the Arabic text. Actual: The title for the row is not properly rendered.

Comments

  1. Lokesh Choudhary 2013-05-07

    Verified the issue & the unicode characters are seen as expected on the tableview row. Thus closing the issue. Environment: Ti Studio : 3.1.1.201305031650 Ti BB SDK : 3.2.0.v20130506213759 Mac OSX : 10.8.2 Z10 BB simulator : 10.0.10.261 Q10 Simulator : 10.1.0.1020
  2. Lokesh Choudhary 2013-05-08

    Also, Verified on build 3.1.1.v20130507184555 & works as expected.

JSON Source