I’m using the next code jQuery code –
success: function(result){
$('#taglineResults').text(result) ;
alert('אבג');
}
as you can see the content in the alert is in hebrew , but the alert I get is three rectangles.
I’ve tried using unescape and decodeUri but it didn’t help, how could I solve this problem?
Thanks in advnace
this 100% works. Change encoding of your source code file to utf-8.
You can use notepad++ for this. Then rewrite your text in hebrew again and save.
You will see hebrew in alert.