Bug Tracker

Modify

Ticket #5324 (closed bug: invalid)

Opened 4 years ago

Last modified 13 months ago

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:
Blocking: Blocked by:

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

comment:1 Changed 4 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 4 years ago by dmethvin

  • Status changed from new to closed
  • Resolution set to invalid

comment:3 Changed 13 months ago by anuroop_v@…

i am also facing this issue,how can manage this

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.