js字符串编码和unicode编码互转 //字符串编码转为unicode编码 function charToUnicode(str) { let temp; let i = 0; let r = ...