2007-10-01 07:14:57 -07:00
|
|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
|
|
|
|
|
"http://www.w3.org/TR/REC-html401-19991224/strict.dtd">
|
|
|
|
|
<html>
|
|
|
|
|
<head>
|
|
|
|
|
<meta http-equiv="content-type" content="text/html; charset=windows-1251">
|
|
|
|
|
<title>Shift_JIS in body and text area</title>
|
|
|
|
|
</head>
|
|
|
|
|
<body>
|
|
|
|
|
<h1>Incorrect meta charset</h1>
|
|
|
|
|
<h2>This page is encoded in Shift_JIS, but has an incorrect meta charset
|
|
|
|
|
claiming that it is windows-1251</h2>
|
|
|
|
|
<p id="testpar"><EFBFBD><EFBFBD><EFBFBD>j<EFBFBD>R<EFBFBD>[<5B>h<EFBFBD>́A<CD81><41><EFBFBD>ׂĂ̕<C482><CC95><EFBFBD><EFBFBD>ɌŗL<C597>̔ԍ<CC94><D48D><EFBFBD><EFBFBD>t<EFBFBD>^<5E><><EFBFBD>܂<EFBFBD></p>
|
2007-11-11 11:48:09 -08:00
|
|
|
|
<form>
|
2007-10-01 07:14:57 -07:00
|
|
|
|
<p>
|
|
|
|
|
<textarea id="testtextarea" rows=6 cols=60><EFBFBD><EFBFBD><EFBFBD>j<EFBFBD>R<EFBFBD>[<5B>h<EFBFBD>́A<CD81><41><EFBFBD>ׂĂ̕<C482><CC95><EFBFBD><EFBFBD>ɌŗL<C597>̔ԍ<CC94><D48D><EFBFBD><EFBFBD>t<EFBFBD>^<5E><><EFBFBD>܂<EFBFBD></textarea>
|
|
|
|
|
<input id="testinput" type="text" size=60 value="<22><><EFBFBD>j<EFBFBD>R<EFBFBD>[<5B>h<EFBFBD>́A<CD81><41><EFBFBD>ׂĂ̕<C482><CC95><EFBFBD><EFBFBD>ɌŗL<C597>̔ԍ<CC94><D48D><EFBFBD><EFBFBD>t<EFBFBD>^<5E><><EFBFBD>܂<EFBFBD>">
|
|
|
|
|
</p>
|
2007-11-11 11:48:09 -08:00
|
|
|
|
</form>
|
2007-10-01 07:14:57 -07:00
|
|
|
|
<h2>Expected text on load:</h2>
|
|
|
|
|
<p>ѓ†ѓjѓRЃ[ѓh‚НЃA‚·‚Ч‚Д‚М•¶Ћљ‚ЙЊЕ—L‚М”ФЌ†‚р•t—^‚µ‚Ь‚·</p>
|
|
|
|
|
<h2>Expected text on resetting the encoding to Shift_JIS:</h2>
|
|
|
|
|
<p>ユニコードは、すべての文字に固有の番号を付与します</p>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|