Titanium JIRA Archive
Appcelerator Community (AC)

[AC-856] Alloy - android fails to display unicode service mark

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionDuplicate
Resolution Date2014-05-08T17:21:14.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsalloy, android, unicode
ReporterMichael Stelly
AssigneeRitu Agrawal
Created2014-05-07T20:47:16.000+0000
Updated2016-03-08T07:37:09.000+0000

Description

Create a default project. In index.js add
switch(Ti.Platform.osname) {
	case 'iphone':
		$.testLabel.text = ’iOS. Should see sm -> \u2120';
		break;
	case 'android':
		$.testLabel.text = ‘android. Should see sm -> \U2120';
		break;
}
in index.xml, add
<Alloy>
	<Label id=“testLabel” />
</Alloy>
Run the project in both an ios and android environment. iOS will display the unicode for service mark. Android will display the label's string literal if uppercase U is used. It will display nothing if lowercase U is used.

Comments

  1. Ritu Agrawal 2014-05-08

    [~madcode] This ticket is a duplicate of TIMOB-16815 . Please follow TIMOB-16815 for latest updates.

JSON Source