forked from mozilla/gecko-dev
-
Notifications
You must be signed in to change notification settings - Fork 2
/
test-form_sjis.html
24 lines (24 loc) · 1.39 KB
/
test-form_sjis.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<!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">ユニコードは、すべての文字に固有の番号を付与します</p>
<form>
<p>
<textarea id="testtextarea" rows=6 cols=60>ユニコードは、すべての文字に固有の番号を付与します</textarea>
<input id="testinput" type="text" size=60 value="ユニコードは、すべての文字に固有の番号を付与します">
</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>