Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
<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">jR[hÍA·×Ä̶ÉÅLÌÔðt^µÜ·</p>
<form>
<p>
<textarea id="testtextarea" rows=6 cols=60>jR[hÍA·×Ä̶ÉÅLÌÔðt^µÜ·</textarea>
<input id="testinput" type="text" size=60 value="jR[hÍA·×Ä̶ÉÅLÌÔðt^µÜ·">
</p>
</form>
<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>