Uploaded image for project: 'Alloy'
  1. Alloy
  2. ALOY-1692

Unable use unicode characters in config.json

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Environment:

      SDK 7.0.2.GA
      Alloy 1.10.9

      Description

      When using a unicode character in the config.json this is scaped when compiled and in the label shows \E and not the character itself.

      config.json in the global section:

      "icon": {
        "bus":"\uE530"
      }
      

      When open the compiled version of CFG.js it shows like:

      module.exports={"dependencies":{},"icon":{"bus":"\\uE530"}};
      

      And using Alloy.CFG.icon.bus in the app result undesired apparence.

      Changing "\ \uE530" with "\uE530" the compiled version of the file CFG.js with liveview active works as expected.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jogios Jose Enrique
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Backbone Issue Sync

                • Synchronized with TIMOB
                  Synced with:
                  TIMOB-6182
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Source Code