1. $.ajaxSetup({
  2. 'beforeSend' : function(xhr) {
  3. xhr.overrideMimeType('text/html; charset=UTF-8');
  4. },
  5. });
  6. $('#stuff').load('/yourresource.file'); // your ajax load