[jQuery] Re: Jquery.param encoding wrong

2009-03-09 Thread Dave Methvin
jQuery.param encodes the string in UTF-8 because it uses encodeURIComponent internally. If you know your parameters only contain accented characters and not ones like "&", perhaps you could build the URL yourself and let the browser do its default encoding? http://dev.jquery.com/ticket/3611 htt

[jQuery] Re: Jquery.param encoding wrong

2009-03-09 Thread mkmanning
%C3%A9 is the correct percent encoding for URIs using UTF-8 code units. I suspect you're using escape()/unescape() instead of encodeURIComponent (or encodeURI() )/decodeURIComponent (or decodeURI ()). escape() fails to handle non-ASCII characters correctly, so you should avoid the use of escape()