<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.testRunner) | |
testRunner.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> |