[code]<script>
functionchinesefromutf8url(strutf8)
{
varbstr="";
varnoffset=0;
//processingpointonstrutf8
if(strutf8=="")
return"";
strutf8=strutf8.tolowercase();
noffset=strutf8.indexof("%e");
if(noffset==-1)
returnstrutf8;
while(noffset!=-1)
{
bstr+=strutf8.substr(0,noffset);
strutf8=strutf8.substr(noffset,strutf8.length-noffset);
if(strutf8==""¦¦strutf8.length<9)//badstring
returnbstr;
bstr+=utf8codetochinesechar(strutf8.substr(0,9));
strutf8=strutf8.substr(9,strutf8.length-9);
noffset=strutf8.indexof("%e");