[TIMOB-759] crash on special characters using JS toUpperCase
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Medium |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2011-04-17T01:54:09.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | Release 1.3.0 |
| Components | iOS |
| Labels | n/a |
| Reporter | Nolan Wright |
| Assignee | Blain Hamon |
| Created | 2011-04-15T02:35:48.000+0000 |
| Updated | 2011-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();
Fix involved TiCore. The %C formatter was being used instead of %S.