最贊回答 / 慕粉3985578
function utf16to8(str) { ?? ? ? ? var out, i, len, c; ?? ? ? ? out = ""; ?? ? ? ? len = str.length; ?? ? ? ? for (i = 0; i < len; i++) { ?? ? ? ? ? ? c = str.charCodeAt(i); ?? ? ? ? ? ? if ((c >= 0x0001) && (c <= 0x007F)) { ?? ? ? ? ? ? ?...
2016-07-28