#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: |
Description
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
comment:2 Changed 13 years ago by
Component: | unfiled → ajax |
---|---|
Resolution: | → duplicate |
Status: | new → closed |
I will assume this is a dup of #3611.
Note: See
TracTickets for help on using
tickets.
I think this may be a dup of #3611. Can you tell me the page encoding that you are using?