[Zope] url_quote and "javascript quote"

iap@y2fun.com iap@y2fun.com
Sat, 30 Mar 2002 17:42:15 +0800


I don't know why M$ want to make the javascript function "escape/unescape"
in IE
behaves different from "url_quote".
It seems that what "unicode" capability of IE just brings "trouble"  to me!
And the even worse problem is that there seems  no "chr" function
to convert ascii code to ascii charecter in javascript. (Am I wrong? hope I
am)

The problem is that I can't pass binary string from server by "url_quote"
and decode it in the broswer by "unescape".

My questions:
1) Is there any zope object can  be used to encode string in "javascript"
way in the server side?
2) Or I missed something that  there is function of javascript which can
decode "url_quote" string in the client side?

Thanks a lot.
Iap, Singuan