[Código] <Script>
FunctionChineseFromUtf8Url (STRUTF8)
{
varbStr = "";
varnoffset = 0;
// ProcessingPointonstrutf8
if (strutf8 == "")
devolver"";
strutf8 = strutf8.tolowercase ();
noffset = strutf8.indexof ("%e");
if (noffset ==-1)
returnstrutf8;
mientras (noffset! =-1)
{
bstr+= strutf8.substr (0, noffset);
strutf8 = strutf8.substr (noffset, strutf8.length-noffset);
if (strutf8 == "" ¦¦trutf8.length <9) // badstring
returnbstr;
bstr+= utf8codetochinesechar (strutf8.substr (0,9));
strutf8 = strutf8.substr (9, strutf8.length-9);
noffset = strutf8.indexof ("%e");