From 5caed717f2aa16898ebddd7ab4a703995490f07d Mon Sep 17 00:00:00 2001 From: erdgeist <> Date: Fri, 13 Jun 2008 07:34:18 +0000 Subject: Reduce memory footprint of encoding routines and fix an iso-0201 problem. --- encoding_gb.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'encoding_gb.js') diff --git a/encoding_gb.js b/encoding_gb.js index 228fae1..72c7253 100644 --- a/encoding_gb.js +++ b/encoding_gb.js @@ -2,8 +2,8 @@ // for codes 0x2121 - 0x296F and 0x3021 - 0x777E // // The unicode codes in second table have been normalized by -// the amount of 19968 to save 5kBytes in this script, so the -// actual value is 19968 + enc_gb2312_1[ x ] +// the amount of 0x4e00 to save 5kBytes in this script, so the +// actual value is 0x4e00 + enc_gb2312_1[ x ] function decode_gb2312( str ) { var outstring = ""; -- cgit v1.2.3