[AC-856] Alloy - android fails to display unicode service mark
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Resolved |
Resolution | Duplicate |
Resolution Date | 2014-05-08T17:21:14.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Titanium SDK & CLI |
Labels | alloy, android, unicode |
Reporter | Michael Stelly |
Assignee | Ritu Agrawal |
Created | 2014-05-07T20:47:16.000+0000 |
Updated | 2016-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.
[~madcode] This ticket is a duplicate of TIMOB-16815 . Please follow TIMOB-16815 for latest updates.