• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<!DOCTYPE html>
2<html>
3<head>
4<meta charset="big5"> <!-- test breaks if the server overrides this -->
5<title>Big5 encoding errors (form, han)</title>
6<meta name="timeout" content="long">
7<meta name="variant" content="?1-1000">
8<meta name="variant" content="?1001-2000">
9<meta name="variant" content="?2001-3000">
10<meta name="variant" content="?3001-4000">
11<meta name="variant" content="?4001-5000">
12<meta name="variant" content="?5001-6000">
13<meta name="variant" content="?6001-7000">
14<meta name="variant" content="?7001-8000">
15<meta name="variant" content="?8001-9000">
16<meta name="variant" content="?9001-10000">
17<meta name="variant" content="?10001-11000">
18<meta name="variant" content="?11001-12000">
19<meta name="variant" content="?12001-13000">
20<meta name="variant" content="?13001-14000">
21<meta name="variant" content="?14001-last">
22<script src="/resources/testharness.js"></script>
23<script src="/resources/testharnessreport.js"></script>
24<script src="/common/subset-tests.js"></script>
25<script src="big5_index.js"></script>
26<script src="big5-encoder.js"></script>
27<link rel="author" title="Richard Ishida" href="mailto:ishida@w3.org">
28<link rel="help" href="https://encoding.spec.whatwg.org/#big5">
29<meta name="assert" content="The browser produces percent-escaped character references for a URL produced by a form when encoding han characters that are not in the big5 encoding.">
30<style>
31 iframe { display:none }
32 form { display:none }
33</style>
34</head>
35<body>
36<div id="log"></div>
37<script src="../../resources/ranges.js"></script>
38<script>
39var errors = true;
40var encoder = big5Encoder;
41var ranges = rangesHan;
42var separator = ",";
43function expect(result, codepoint) {
44  return  "%26%23" + codepoint + "%3B";
45}
46// Overwrite normalizeStr
47function normalizeStr(str) {
48  return str;
49}
50</script>
51<script src="../../resources/encode-form-common.js"></script>
52</body>
53</html>
54