This is the code that I have in javascript file inside my addon:
function ShotText() {
var inputString = "שלום"; //Hebrew letters
alert(inputString);
}
When I run this function using addon I get this:
But if I run the same code without addon (regular javascript function), I get this:
Where is the problem?
Maybe I need to set encoding somewhere inside the extension?