1 <html> 2 <head> 3 <meta http-equiv="Content-Type" content="text/html; charset=euc-kr" /> 4 </head> 5 <BODY> 6 <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> 7 <script> 8 if (window.layoutTestController) 9 layoutTestController.dumpAsText(); 10 11 var encodingElems = ["characterSet", "charset", "inputEncoding"]; 12 for (var i in encodingElems) { 13 var charset = eval('document.' + encodingElems[i]); 14 document.write(encodingElems[i] +": " + charset + " (should be EUC-KR)<br>"); 15 } 16 </script> 17 </body> 18 </html> 19