实例如下: [removed] var symbols = " !\"#$%&'()*+,-./0123456789:;<=>?@"; var loAZ = "abcdefghijklmnopqrstuvwxyz"; symbols+= loAZ.toUpperCase(); symbols+= "[\\]^_`"; symbols+= loAZ; symbols+= "{|}~"; //Hex to ASCII function toAscii(str) { valueStr = str.toLowerCase(); var hex = "0123456789abcdef";