test-form_sjis.html (1427B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" 2 "http://www.w3.org/TR/REC-html401-19991224/strict.dtd"> 3 <html> 4 <head> 5 <meta http-equiv="content-type" content="text/html; charset=windows-1251"> 6 <title>Shift_JIS in body and text area</title> 7 </head> 8 <body> 9 <h1>Incorrect meta charset</h1> 10 <h2>This page is encoded in Shift_JIS, but has an incorrect meta charset 11 claiming that it is windows-1251</h2> 12 <p id="testpar">���j�R�[�h�́A���ׂĂ̕����ɌŗL�̔ԍ���t�^���܂�</p> 13 <form> 14 <p> 15 <textarea id="testtextarea" rows=6 cols=60>���j�R�[�h�́A���ׂĂ̕����ɌŗL�̔ԍ���t�^���܂�</textarea> 16 <input id="testinput" type="text" size=60 value="���j�R�[�h�́A���ׂĂ̕����ɌŗL�̔ԍ���t�^���܂�"> 17 </p> 18 </form> 19 <h2>Expected text on load:</h2> 20 <p>ѓ†ѓjѓRЃ[ѓh‚НЃA‚·‚Ч‚Д‚М•¶Ћљ‚ЙЊЕ—L‚М”ФЌ†‚р•t—^‚µ‚Ь‚·</p> 21 <h2>Expected text on resetting the encoding to Shift_JIS:</h2> 22 <p>ユニコードは、すべての文字に固有の番号を付与します</p> 23 </body> 24 </html>