Question considering character encoding
Hey all,
I'm fairly new here so first of all: hello all :)
I've been using jQuery for quite some time now and today I've come across something I can't figure out.
The website I'm managing uses the character set "Windows-1252" and this has never been any issue. However, when I try to send a request using jQuery's AJAX method it seems my response header is using UTF-8.
I've tried the following two methods without any luck:
- jQuery.ajax({
type: "POST",
ajaxGridOptions: { contentType: 'text/html; charset=windows-1252' },
...
});
- jQuery.ajaxSetup({
scriptCharset: "windows-1252",
contentType: "text/html;"
});
Any help is greatly appreciated.