转/hadeslee/archive/2007/11/16/160544.html 一UTF8编码函数 function?URLEncode(Str){ ?if(Str==null||Str==) ?return; ?var?newStr=; ?function?toCase(sStr){ ?return?sStr.toString(16.toUpperCase; ?} ?for(var?i=0,