summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-12-13 13:02:16 +0100
committerDaniel Stenberg <daniel@haxx.se>2020-12-13 14:47:22 +0100
commit1e282cb64e296d70588d668ea3ac9f1b54b86b53 (patch)
tree1c743a1fcdf01851eaa371f8fd0b41da517fc0d2
parent4e7e2dd20e2a56e70ce0c9c43071bccd88f98ba4 (diff)
downloadcurl-bagder/URL-portnumbers.tar.gz
URL-SYNTAX: mention IDNA detailsbagder/URL-portnumbers
-rw-r--r--docs/URL-SYNTAX.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/URL-SYNTAX.md b/docs/URL-SYNTAX.md
index add4b27b1..d8fcc9255 100644
--- a/docs/URL-SYNTAX.md
+++ b/docs/URL-SYNTAX.md
@@ -167,9 +167,16 @@ brackets). For example:
http://[2001:1890:1112:1::20]/
+### IDNA
+
If curl was built with International Domain Name (IDN) support, it can also
handle host names using non-ASCII characters.
+curl supports IDN host names using the IDNA 2008 standard. This differs from
+browsers that follow the WHATWG URL spec, which dictates IDNA 2003 to be used.
+The two standards have a huge overlap but differ slightly, perhaps most
+famously in how they deal with the German "double s" (`ß`).
+
## Port number
If there's a colon after the hostname, that should be followed by the port