#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: |
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.
Change History (3)
comment:1 Changed 13 years ago by
comment:2 Changed 13 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
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.