summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2018-04-30 14:31:04 +0200
committerDaniel Stenberg <daniel@haxx.se>2018-04-30 14:31:04 +0200
commit97f63f512d19835a573f6f7635a5164a289cfe9c (patch)
tree2c4350706cde65eeeeacef21effbab655ceb2ef5
parentf022c91df609bb0bd3f7adfc7d7ab40546bc3c61 (diff)
downloadcurl-97f63f512d19835a573f6f7635a5164a289cfe9c.tar.gz
CURLOPT_URL.3: add ENCODING section [ci skip]
Feedback-by: Michael Kilburn
-rw-r--r--docs/libcurl/opts/CURLOPT_URL.312
1 files changed, 11 insertions, 1 deletions
diff --git a/docs/libcurl/opts/CURLOPT_URL.3 b/docs/libcurl/opts/CURLOPT_URL.3
index 3f88c94b7..79e066016 100644
--- a/docs/libcurl/opts/CURLOPT_URL.3
+++ b/docs/libcurl/opts/CURLOPT_URL.3
@@ -5,7 +5,7 @@
.\" * | (__| |_| | _ <| |___
.\" * \___|\___/|_| \_\_____|
.\" *
-.\" * Copyright (C) 1998 - 2016, Daniel Stenberg, <daniel@haxx.se>, et al.
+.\" * Copyright (C) 1998 - 2018, Daniel Stenberg, <daniel@haxx.se>, et al.
.\" *
.\" * This software is licensed as described in the file COPYING, which
.\" * you should have received as part of this distribution. The terms
@@ -286,6 +286,16 @@ escape it by providing it as backslash and its ASCII value in hexadecimal:
The application does not have to keep the string around after setting this
option.
+.SH ENCODING
+The string pointed to in the \fICURLOPT_URL(3)\fP argument is generally
+expected to be a sequence of characters using an ASCII compatible encoding.
+
+If libcurl is built with IDN support, the server name part of the URL can use
+an "international name" by using the current encoding (according to locale) or
+UTF-8 (when winidn is used).
+
+If libcurl is built without IDN support, the server name is used exactly as
+specified when passed to the name resolver functions.
.SH DEFAULT
There is no default URL. If this option isn't set, no transfer can be
performed.