{ "id": "170933", "key": "ALOY-1692", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "11113", "key": "ALOY", "name": "Alloy", "projectCategory": { "id": "10400", "description": "Tools for developing applications", "name": "Tooling" } }, "fixVersions": [], "resolution": null, "resolutiondate": null, "created": "2018-01-25T11:41:17.000+0000", "priority": null, "labels": [ "config.json", "engTriage", "unicode" ], "versions": [], "issuelinks": [], "assignee": null, "updated": "2019-06-20T22:07:52.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [], "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.\r\n\r\nconfig.json in the global section:\r\n\r\n{code:java}\r\n\"icon\": {\r\n \"bus\":\"\\uE530\"\r\n}\r\n{code}\r\n\r\n\r\nWhen open the compiled version of CFG.js it shows like:\r\n\r\n{code:java}\r\nmodule.exports={\"dependencies\":{},\"icon\":{\"bus\":\"\\\\uE530\"}};\r\n{code}\r\n\r\n\r\nAnd using Alloy.CFG.icon.bus in the app result undesired apparence.\r\n\r\nChanging \"\\ \\uE530\" with \"\\uE530\" the compiled version of the file CFG.js with liveview active works as expected.", "attachment": [ { "id": "64858", "filename": "app-test-unicode.zip", "author": { "name": "jogios", "key": "jogios", "displayName": "Jose Enrique", "active": true, "timeZone": "Europe/Madrid" }, "created": "2018-02-14T09:42:40.000+0000", "size": 9298343, "mimeType": "application/zip" }, { "id": "64748", "filename": "app-test-unicode.zip", "author": { "name": "jogios", "key": "jogios", "displayName": "Jose Enrique", "active": true, "timeZone": "Europe/Madrid" }, "created": "2018-01-25T11:33:12.000+0000", "size": 9266761, "mimeType": "application/zip" }, { "id": "64749", "filename": "Captura de pantalla 2018-01-25 a las 12.27.54.png", "author": { "name": "jogios", "key": "jogios", "displayName": "Jose Enrique", "active": true, "timeZone": "Europe/Madrid" }, "created": "2018-01-25T11:28:40.000+0000", "size": 31166, "mimeType": "image/png" } ], "flagged": false, "summary": "Unable use unicode characters in config.json", "creator": { "name": "jogios", "key": "jogios", "displayName": "Jose Enrique", "active": true, "timeZone": "Europe/Madrid" }, "subtasks": [], "reporter": { "name": "jogios", "key": "jogios", "displayName": "Jose Enrique", "active": true, "timeZone": "Europe/Madrid" }, "environment": "SDK 7.0.2.GA\r\nAlloy 1.10.9", "comment": { "comments": [ { "id": "433815", "author": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Hello [~jogios] ,\r\n\r\nThanks for sharing with us. Can you please using latest SDK *7.0.1.GA*? If the issue occurs, provide a full sample test code that regenerates the issue. Better to provide a sample app as an attachment here. We will test the issue in our environment. Also, provide your detail environment information . Thanks.", "updateAuthor": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2018-01-30T06:46:36.000+0000", "updated": "2018-01-30T06:46:36.000+0000" }, { "id": "433816", "author": { "name": "jogios", "key": "jogios", "displayName": "Jose Enrique", "active": true, "timeZone": "Europe/Madrid" }, "body": "I have already added an example, if you notice there is a zip file named app-test-unicode.zip.\r\nI'm going to try the latest version", "updateAuthor": { "name": "jogios", "key": "jogios", "displayName": "Jose Enrique", "active": true, "timeZone": "Europe/Madrid" }, "created": "2018-01-30T07:31:09.000+0000", "updated": "2018-01-30T07:31:09.000+0000" }, { "id": "433817", "author": { "name": "jogios", "key": "jogios", "displayName": "Jose Enrique", "active": true, "timeZone": "Europe/Madrid" }, "body": "Still happens with the latest version, 7.0.1.GA", "updateAuthor": { "name": "jogios", "key": "jogios", "displayName": "Jose Enrique", "active": true, "timeZone": "Europe/Madrid" }, "created": "2018-01-30T07:46:09.000+0000", "updated": "2018-01-30T07:46:09.000+0000" }, { "id": "434458", "author": { "name": "jogios", "key": "jogios", "displayName": "Jose Enrique", "active": true, "timeZone": "Europe/Madrid" }, "body": "Still happens with the latest version, 7.0.2.GA", "updateAuthor": { "name": "jogios", "key": "jogios", "displayName": "Jose Enrique", "active": true, "timeZone": "Europe/Madrid" }, "created": "2018-02-14T09:42:19.000+0000", "updated": "2018-02-14T09:42:19.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }