JavaScript encodes Hebrew string

时间:2016-06-06 14:17:10

标签: javascript character-encoding hebrew

I use ajax to read a parameter and display it in my HTML.

  • in my UTF8 HTML I see ���� ��� [4- X "black diamond with question marks" 1-space 3 X "black diamond with question marks"]
  • in firebug | Script | Watch, I see the same "���� ���" [4black-diamonds space 3 blackDiamonds]
  • in firebug | Net | Response\Json, I see "ùìåí àáâ" [recommended tool in Why does a diamond with a questionmark in it � appear in my HTML?

How do I use javascript to translate "ùìåí àáâ" into the Hebrew string "שלום אבג"

What encoding does it use?

0 个答案:

没有答案