function GetUnicode(str)
{
       var Code;
       var UnicodeStr="";
       for(i=0;i<str.length;i++)
       {
              Code=(str.charCodeAt(i)).toString(16);
              Code="0000".substring(0,4-Code.length)+Code;
              UnicodeStr+="%u"+Code; 
       }
       return UnicodeStr;
}

相关文章:

  • 2021-06-25
  • 2022-12-23
  • 2021-12-13
  • 2021-09-29
  • 2022-12-23
猜你喜欢
  • 2021-09-26
  • 2022-02-08
  • 2021-08-01
  • 2021-05-29
  • 2022-12-23
  • 2021-08-29
  • 2021-08-02
相关资源
相似解决方案