summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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