[Code] <Script>
functionChinesefromutf8url (Strutf8)
{
varbstr = "";
varnoffset = 0;
// ProcessingPointonstrutf8
if (strutf8 == "")
zurückkehren"";
strutf8 = strutf8.tolowerCase ();
nOffset = stutf8.indexof ("%e");
if (noffset ==-1)
returnstrutf8;
während (noffset! =-1)
{
BSTR+= STUTF8.SUBSTR (0, NOFFSET);
stutf8 = stutf8.substr (noffset, stutf8.length-noffset);
if (strutf8 == "" ...StRutF8.Length <9) // Badstring
returnbtr;
BSTR+= UTF8CodetochineSchar (STRUTF8.SUBSTR (0,9));
strutf8 = strutf8.substr (9, stutf8.length-9);
nOffset = stutf8.indexof ("%e");