Uploaded image for project: 'Appcelerator - INBOX'
  1. Appcelerator - INBOX
  2. AC-856

Alloy - android fails to display unicode service mark

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Duplicate
    • Affects Version/s: None
    • Component/s: Titanium SDK & CLI
    • Environment:

      Mac OSX Mavericks, Titanium Studio, build: 3.2.3.201404181442, Ti SDK 3.2.3.GA,

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ragrawal Ritu Agrawal
                Reporter:
                madcode Michael Stelly
              • Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code