File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,17 @@ The Ada library passes the full range of tests from the specification,
14
14
across a wide range of platforms (e.g., Windows, Linux, macOS). It fully
15
15
supports the relevant [ Unicode Technical Standard] ( https://www.unicode.org/reports/tr46/#ToUnicode ) .
16
16
17
+ A common use of a URL parser is to take a URL string and normalize it.
18
+ The WHATWG URL specification has been adopted by most browsers. Other tools, such as curl and many
19
+ standard libraries, follow the RFC 3986. The following table illustrates possible differences in practice
20
+ (encoding of the host, encoding of the path):
21
+
22
+ | string source | string value |
23
+ | :--------------| :--------------|
24
+ | input string | https://www.7‑Eleven.com/Home/Privacy/Montréal |
25
+ | ada's normalized string | https://www.xn--7eleven-506c.com/Home/Privacy/Montr%C3%A9al |
26
+ | curl 7.87 | (returns the original unchanged) |
27
+
17
28
### Requirements
18
29
19
30
The project is otherwise self-contained and it has no dependency.
You can’t perform that action at this time.
0 commit comments