Side navigation
#5324 closed bug (invalid)
Opened October 05, 2009 12:25PM UTC
Closed October 05, 2009 10:38PM UTC
Last modified May 04, 2012 01:42PM UTC
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: |
Description
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.
Example:
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.
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.