I don't have access to the server and I need that the whole AJAX transaction to happen using the ISO-8859-1 charset. I'm using the jQuery.load() function together with the following jQuery method:
jQuery.ajaxSetup({'beforeSend' : function(xhr) {xhr.overrideMimeType('charset=ISO-8859-15'); }});
even though firefox and chrome are returning the results correctly encoded, IE (all versions) are not. Is there any way to fix it only at the client-side?
p.s. All the content is correctly encoded in ISO-8859-1.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…