XMLHttpRequest has the wrong fallback encoding