And if anyone else on a .NET environment runs into this, the server-side HttpUtility.UrlEncode/URLDecode does NOT match the client-side javascript encodeURI/decodeURI, making it hard to pass data back and forth.
The remedy is to reference the Jscript 8.0 library to your project, and use the Microsoft.JScript.GlobalObject.encodeURI as server-side code. This is, in fact, the same encodeURI method used by the browser. Thus, the inputs and outputs will match. JK -----Original Message----- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeffrey Kretz Sent: Monday, April 30, 2007 10:11 AM To: jquery-en@googlegroups.com Subject: [jQuery] Re: UTF-7 Ajax form Wow! I feel simultaneously grateful and foolish. That totally solved my problem. JK -----Original Message----- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dan G. Switzer, II Sent: Monday, April 30, 2007 9:57 AM To: jquery-en@googlegroups.com Subject: [jQuery] Re: UTF-7 Ajax form >1. If you type a copyright character (ALT-0169 in windows), and use the >Javascript escape function on it, you get %A9. escape("C")=="%A9" Use encodeURI() instead to correctly encode the characters. -Dan