Could not use Arabic characters in config.js file for app name and vendor

Hello .
With for example Tasklist config.js like this
window.camTasklistConf

  // change the app name and vendor

  app: {

    name: 'سلام',

    vendor: 'Company'

  },

the output shows irrelevant characters . That seems the web app does not support utf-8 characters at all.
image
Any chance to have utf-8 chars in such file?

Hi @Ali_Titan,

Try to convert your text to UTF16 encoding

https://www.browserling.com/tools/utf16-encode

Try

app: {

name: '\u{633}\u{644}\u{627}\u{645}',

vendor: 'Company'

},

1 Like

Thanks a lot it worked!!!
May I ask why this is like that? is it because of Gruntjs configs?

hi there
how did you find that solution?!
@hassang