Bug Tracker

Opened 13 years ago

Closed 13 years ago

Last modified 11 years ago

#5324 closed bug (invalid)

Problem with special characters using AJAX

Reported by: bluecat76 Owned by:
Priority: major Milestone: 1.4
Component: ajax Version: 1.3.2
Keywords: ajax special characters ie Cc:
Blocked by: Blocking:


I have setup a search suggestion and am observing following problem:

Special characters (in this case german umlaut äöü) are NOT included in Ajax calls ($.get or $.getJSON) in Internet Explorer.


1.) The query reads "search_suggestion.asp?query=süd" when output via alert or similar.

2.) Logging on the Webserver yields:

Request from Firefox(3, 3.5): search_suggestion.asp query=s%C3%BCd Request from IE (6, 7, 8): search_suggestion.asp query=sd

All encoding is in UTF-8. Maybe some AJAX-related function in jQuery removes special characters from the query? Please let me know, if you need more information on this.

Change History (3)

comment:1 Changed 13 years ago by bluecat76

Please ignore/close this bug, it is not jQuery related!

I was using the escape function and now learned, that this can NOT escape utf-8 chars! Using encodeURIComponent now, which works.

comment:2 Changed 13 years ago by dmethvin

Resolution: invalid
Status: newclosed

comment:3 Changed 11 years ago by [email protected]

i am also facing this issue,how can manage this

Note: See TracTickets for help on using tickets.