Rendering a page with an encoding different to the current document will yield "mojibake" when the server does not indicate the page's encoding in the response header.
Solution could be to use the
xhr.responseType = "document";
xhr2 feature, see https://developer.mozilla.org/en-US/docs/HTML_in_XMLHttpRequest when requesting urls through drawURL().