Bug Tracker

Opened 14 years ago

Closed 13 years ago

Last modified 11 years ago

#4746 closed bug (duplicate)

Wrong encoding for URL when using AJAX load functions in Internet Explorer

Reported by: XWisdom Owned by:
Priority: major Milestone: 1.4
Component: ajax Version: 1.3.2
Keywords: Cc:
Blocked by: Blocking:


When using the AJAX functions in jQuery (e.g. $.load(), $.get etc.) and if the url contains special characters like the Swedish "åäö", then it get converted to the wrong encoding before sending to the server. This only happens in Internet Explorer. My workaround is:

if ($.browser.msie) {

sUrl = encodeURIComponent(sUrl); sUrl = sUrl.replace(/%2F/g, '/');


Change History (2)

comment:1 Changed 14 years ago by dmethvin

I think this may be a dup of #3611. Can you tell me the page encoding that you are using?

comment:2 Changed 13 years ago by dmethvin

Component: unfiledajax
Resolution: duplicate
Status: newclosed

I will assume this is a dup of #3611.

Note: See TracTickets for help on using tickets.