Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #186 (closed defect: fixed)

Opened 13 years ago

Last modified 12 years ago

Safari encoding of XMLHttpRequest

Reported by: rune.hansen@… Owned by: anonymous
Priority: normal Milestone: 0.9
Component: TurboGears Version: 0.8
Severity: normal Keywords:


Safari has a bug where it ignores the encodings of XMLHttpRequests. TurboGears employs a workaround for Kid templates, the same workaround should be implemented for JSON output.

Change History

comment:1 Changed 13 years ago by kevin

  • Component changed from CherryPy to TurboGears

It turns out that JSON should already be getting the same translation that occurs for HTML output. Here's the original thread about this:

 original thread on mochikit group

comment:2 Changed 13 years ago by bob@…

Isn't this irrelevant for JSON since simplejson escapes everything but ASCII?

comment:3 Changed 13 years ago by godoy

I believe this has been solved... Can someone using Safari test it?

comment:4 Changed 13 years ago by kevin

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

Rune reports that the problem appears solved in Safari 2.0.3, and I think Bob's comment is correct that simplejson takes care of this as well.

Note: See TracTickets for help on using tickets.