JavaScript encodes Hebrew string

你说的曾经没有我的故事 提交于 2019-12-12 03:49:51

问题


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?

来源:https://stackoverflow.com/questions/37659805/javascript-encodes-hebrew-string

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!