From ec6e2bde3b1f9df4fdebc3ff9076be7f696a20d1 Mon Sep 17 00:00:00 2001 From: yancend Date: Tue, 24 Dec 2013 17:47:19 +0800 Subject: [PATCH] =?UTF-8?q?asp=20json=20=E8=A7=A3=E5=86=B3=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E5=90=8D=E4=B9=B1=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- asp/json.asp | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/asp/json.asp b/asp/json.asp index 080bdc64c..d3cf70660 100644 --- a/asp/json.asp +++ b/asp/json.asp @@ -83,15 +83,7 @@ Class jsCore haystack(i) = Mid(str, i + 1, 1) charcode = AscW(haystack(i)) And 65535 - If charcode < 127 Then - If Not IsEmpty(charmap(charcode)) Then - haystack(i) = charmap(charcode) - ElseIf charcode < 32 Then - haystack(i) = "\u" & Right("000" & Hex(charcode), 4) - End If - Else - haystack(i) = "\u" & Right("000" & Hex(charcode), 4) - End If + Next jsEncode = Join(haystack, "")