ESCAPE + ANSI Convert into Unicode (JavaScript)

xiaoxiao2021-03-06  55

Function GFescapePlus (Strorg) {Var Moji; Var Struni = ""

For (var i = 0; i = 48 && moji <= 57) {struni = struni Strorg.Charat (i);} else if (moji> = 65 && moji <= 90) {struni = Struni Strorg.Charat (i);} else if (moji> = 97 && moji <= 122) {struni = struni Strorg.Charat (i);} else {struni = struni "% u00" moji.tostring (16);}} else if (Moji <= 4095) {struni = struni "% u0" moji.tostring (16);} else {struni = Struni "% u" moji.tostring (16); }} While (Struni! = (Struni = struni.replace))))))))); Return Struni;

转载请注明原文地址:https://www.9cbs.com/read-113613.html

New Post(0)