[wp-trac] [WordPress Trac] #11034: AJAX requests stored as UTF-8 even if a non-UTF-8 charset is in use (was: AJAX responses stored as UTF-8 even if a non-UTF-8 charset is in use)
WordPress Trac
wp-trac at lists.automattic.com
Mon Nov 23 14:22:18 UTC 2009
#11034: AJAX requests stored as UTF-8 even if a non-UTF-8 charset is in use
--------------------------+-------------------------------------------------
Reporter: iansealy | Owner: azaozz
Type: defect (bug) | Status: new
Priority: low | Milestone: 2.9
Component: Autosave | Version: 2.8.5
Severity: normal | Keywords: has-patch
--------------------------+-------------------------------------------------
Changes (by iansealy):
* cc: iansealy (added)
Comment:
Sorry, I did, of course, mean AJAX requests, rather than responses.
I see different encodings. So, for example, here's the Content-Type header
from the wp-admin/post.php?action=edit response:
Content-Type: text/html; charset=ISO-8859-1
And here's the Content-Type header from the AJAX request sent to wp-admin
/admin-ajax.php when an autosave happens:
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
You see ISO-8859-1 (or whatever non-UTF-8 encoding you chose for testing)
in the AJAX request too?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11034#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list