-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCheckPasvUnicodeTransformations.php
executable file
·50 lines (41 loc) · 1.66 KB
/
CheckPasvUnicodeTransformations.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<?php
/* Watcher test findings */
header('Content-Type: text/html; charset=utf-8');
?>
<html>
<head>
<title>Watcher test page for Unicode string transformations</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body>
<h1>Test all Unicode string transformations</h1>
<p>1 Unicode issue should get flagged here.</p>
<ol>
<li><strong>Normalization Form C </strong> </li>
<li><strong>Normalization Form D </strong> </li>
<li><strong>Normalization Form KC </strong> </li>
<li><strong>Normalization Form KD </strong> </li>
<li><strong>Normalization Form ToUpper() </strong> </li>
<li><strong>Normalization Form ToLower() </strong> </li>
<li><strong>Normalization Form Best-fit </strong> </li>
</ol>
<br />
<h2>The following texts each contain the test cases.</h2>
<a href="http://www.nottrusted.com/watcher/CheckPasvUnicodeTransformations.php?test=≯﹤ï¬Ä°á¸‹Ì£">Click here for the Normalization tests</a>
<p>≯﹤ï¬Ä°á¸‹Ì£</p>
<a href="http://www.nottrusted.com/watcher/CheckPasvUnicodeTransformations.php?test=A">Click here for the best-fit test</a>
<a href="http://www.nottrusted.com/watcher/CheckPasvUnicodeTransformations.php?test=UpperLower">Click here for the toUpper/toLower test</a>
<a href="≯﹤ï¬İḍ̇">NFD</a>
<a href="≯﹤ï¬Ä°á¸Ì‡">NFC</a>
<a href="≯<fiİḍ̇">NFKD</a>
<a href="≯<fiÄ°á¸Ì‡">NFKC</a>
<a href="A">Best fit</a>
<a href="upperlower">ToLower</a>
<a href="UPPERLOWER">ToUpper</a>
<div style="upperlower">ToLower</div>
<div style="UPPERLOWER">ToUpper</div>
<b foo="≯<fiİḍ̇">NFKD</b>
<c foo="≯<fiÄ°á¸Ì‡">NFKC</c>
<d foo="A">Best fit</d>
</body>
</html>ô