Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-759] crash on special characters using JS toUpperCase

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:54:09.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.3.0
ComponentsiOS
Labelsn/a
ReporterNolan Wright
AssigneeBlain Hamon
Created2011-04-15T02:35:48.000+0000
Updated2011-04-17T01:54:09.000+0000

Description

from premium ticket:

http://helpdesk.appcelerator.net/tickets/1846">http://helpdesk.appcelerator.net/tickets/1846

code

// this sets the background color of the master UIView (when there are no windows/tab groups on it) Titanium.UI.setBackgroundColor('#000');

// create tab group var tabGroup = Titanium.UI.createTabGroup();

var specialChar = "♥Amanda22♥".toUpperCase();

// // create base UI tab and root window // var win = Titanium.UI.createWindow({

title:'Tab',
backgroundColor:'#fff'

});

var tab = Titanium.UI.createTab({

icon:'KS_nav_views.png',
title:'Tab',
window:win

});

// // add tabs // tabGroup.addTab(tab);

// open tab group tabGroup.open();

Comments

  1. Stephen Tramer 2011-04-15

    Fix involved TiCore. The %C formatter was being used instead of %S.

JSON Source