Hope this will help you guys...
is used to encode the string and unescape
var vstr = escape(&quot;It's wounderful!&quot;)
If you wanna handle this at server side use the following code.
string str = Server.UrlDecode(Request.QueryString[&quot;trial&quot;]);
string str = Server.UrlEncode(Request.QueryString[&quot;trial&quot;]);