[jQuery] Jquery, Jsonp and UTF8

[jQuery] Jquery, Jsonp and UTF8


Hi guys. I have an issue with jQuery using Jsonp and i would like to
know if anyone may help.
I'm using the getJSON function to call an URL on another domain;
everything works fine except that the content i display in my callback
function is displayed using UTF8 encoding with Firefox and ISO8859 in
IE :S
- Example of a Jsonp content :
myCallBack({"status":1,"content":"Page complète"}) //The "Page
complète" is the UTF-8 version of "Page complète" (this is French
^^).
- Example of Callback function :
function myCallBack(jsonp) {
[...]
var myContent = jsonp.content;
[...]
}
Firefox displays "Page complète" whereas IE displays "Page
complète" (which is good).
From what i understand, the fact that my content is using UTF8 is
normal since this is made in Ajax using Json; but i can't spot the
reason why Firefox doesn't act like IE.
Thanks for suggestions...
PS : In the past this script was not using Jsonp (since i was using
the same domain) but simply Json (so no callback function) and i had
no issue of this kind.