• 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 (href, misc)</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-last">
11<script src="/resources/testharness.js"></script>
12<script src="/resources/testharnessreport.js"></script>
13<script src="/common/subset-tests.js"></script>
14<script src="big5_index.js"></script>
15<script src="big5-encoder.js"></script>
16<link rel="author" title="Richard Ishida" href="mailto:ishida@w3.org">
17<link rel="help" href="https://encoding.spec.whatwg.org/#big5">
18<meta name="assert" content="The browser produces percent-escaped character references when writing characters to an href value and encoding miscellaneous characters that are not in the gbk encoding.">
19<style>
20 iframe { display:none }
21 form { display:none }
22</style>
23</head>
24<body>
25<div id="log"></div>
26<script src="../../resources/ranges.js"></script>
27<script>
28var errors = true;
29var encoder = big5Encoder;
30var ranges = rangesMisc;
31function expect(result, codepoint) {
32  return "%26%23" + codepoint + "%3B";
33}
34</script>
35<script src="../../resources/encode-href-common.js"></script>
36</body>
37</html>
38