[thelist] Unicode in QueryString
Rob Smith
rob.smith at THERMON.com
Tue Feb 4 08:47:01 CST 2003
Hi list,
Special Characters (Unicode) are translated via a code:
http://www.w3schools.com/html/html_ref_urlencode.asp
throughout querystrings. After looking at this page, is there away to avoid
this taxing function:
function replaceUnicode(value)
'replaces all Unicode chars from %00 to %ff
value = replace(value,"%00","æ")
value = replace(value,"%20"," ")
value = replace(value,"%21","!")
...
...
...
value = replace(value,"%ff","ÿ")
end function 'replaces all Unicode chars from %00 to %ff
At first glance, it seems like it would be the most straight forward path,
but extremely time consuming. Is there a better way to skin this cat (my
apologies to the environmentalists).
Rob.Smith
More information about the thelist
mailing list