Test for bug 5744 - correctly determine the encoding of XMLHttpRequest responses. Plain text, UTF-8 as default: Проверка Plain text, windows-1251 specified in HTTP headers: Проверка Plain text, windows-1251 specified in overrideMimeType: Проверка Plain text, koi8-r specified in HTTP headers, but overridden by windows-1251 in overrideMimeType: Проверка XML, UTF-8 as default: Проверка. responseText: Проверка XML, windows-1251 specified in XML declaration: Проверка. responseText: Проверка XML, koi8-r specified in XML declaration, but overridden by windows-1251 in HTTP headers: Проверка. responseText: Проверка XML, koi8-r specified in XML declaration, but overridden by windows-1251 in overrideMimeType: Проверка. responseText: Проверка XML transferred as text/plain, UTF-8 as default (ignore XML text declaration): Проверка HTML, charset determined by a META: Проверка HTML, UTF-8 as default: Проверка Async: Plain text, UTF-8 as default: Проверка Async: Plain text, windows-1251 specified in HTTP headers: Проверка Async: Plain text, windows-1251 specified in overrideMimeType: Проверка Async: Plain text, koi8-r specified in HTTP headers, but overridden by windows-1251 in overrideMimeType: Проверка Async: XML, UTF-8 as default: Проверка. responseText: Проверка Async: XML, windows-1251 specified in XML declaration: Проверка. responseText: Проверка Async: XML, koi8-r specified in XML declaration, but overridden by windows-1251 in HTTP headers: Проверка. responseText: Проверка Async: XML, koi8-r specified in XML declaration, but overridden by windows-1251 in overrideMimeType: Проверка. responseText: Проверка Async: XML transferred as text/plain, UTF-8 as default (ignore XML text declaration): Проверка Async: HTML, charset determined by a META: Проверка Async: HTML, UTF-8 as default: Проверка