I want to use non-english characters on my jquery mobile app and I want to apply UTF-8 Charset to the result returned from Google RSS API. I searched on many sites but I could not find correct answer. I think the charset applied for the Google rss results is not correct ( I checked and it shows null) and thats why I cannot see non-english characters.
Please see below code -
$.ajax({
url: "http://ajax.googleapis.com/ajax/services/xxxxxxxxx,
dataType: "json",
contentType: "application/x-www-form-urlencoded;charset=utf-8",
success: function (d) {
_execute();
},
or Is there any way to apply UTF-8 charset to javascript string/array?