blob: b8d62feb6c1b40d83888bcb47c59c8a0df016aa7 [file] [log] [blame]
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr" />
</head>
<BODY>
<p>Test for <a href="http://bugs.webkit.org/show_bug.cgi?id=25487">bug 25487</a>. Even though we treat EUC-KR as windows-949, the name exposed via DOM APIs should still be EUC-KR.</p>
<script>
if (window.layoutTestController)
layoutTestController.dumpAsText();
var encodingElems = ["characterSet", "charset", "inputEncoding"];
for (var i in encodingElems) {
var charset = eval('document.' + encodingElems[i]);
document.write(encodingElems[i] +": " + charset + " (should be EUC-KR)<br>");
}
</script>
</body>
</html>