jQuery set ISO charset to ajax request

Posted by mck89 on Stack Overflow See other posts from Stack Overflow or by mck89
Published on 2010-06-16T10:29:44Z Indexed on 2010/06/16 10:32 UTC
Read the original article Hit count: 359

Filed under:
|
|
|
|

Hi, i'm using jQuery for sending ajax requests to the server, but i have some problems with the charset. In the ajax function documentation is written that data is always sent in UTF-8 according to the W3C XMLHTTPRequest standard, so i don't think that jQuery allows you to change the request charset (except if you load a script, but that's not my case).

So do you know a way to set the ISO-8859-1 charset for the ajax request in jQuery?

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about AJAX