diff options
author | Alessandro Ghedini <ghedo@debian.org> | 2017-08-12 12:27:23 +0100 |
---|---|---|
committer | Alessandro Ghedini <ghedo@debian.org> | 2017-08-12 12:27:23 +0100 |
commit | bdd033d6e4a13df5b45f2628db5738f82ca6b413 (patch) | |
tree | cf888efddf7f3cf7dd714363ca0f477f2a59b4c6 /docs/libcurl/curl_easy_escape.3 | |
parent | d4e5ed3bd25935c7dc74a5fd183032d7649d2db8 (diff) |
New upstream version 7.55.0
Diffstat (limited to 'docs/libcurl/curl_easy_escape.3')
-rw-r--r-- | docs/libcurl/curl_easy_escape.3 | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/docs/libcurl/curl_easy_escape.3 b/docs/libcurl/curl_easy_escape.3 index d2b6cd28..63725dac 100644 --- a/docs/libcurl/curl_easy_escape.3 +++ b/docs/libcurl/curl_easy_escape.3 @@ -5,7 +5,7 @@ .\" * | (__| |_| | _ <| |___ .\" * \___|\___/|_| \_\_____| .\" * -.\" * Copyright (C) 1998 - 2014, Daniel Stenberg, <daniel@haxx.se>, et al. +.\" * Copyright (C) 1998 - 2017, 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 @@ -20,7 +20,8 @@ .\" * .\" ************************************************************************** .\" -.TH curl_easy_escape 3 "7 April 2006" "libcurl 7.15.4" "libcurl Manual" +.TH curl_easy_escape 3 "July 07, 2017" "libcurl 7.55.0" "libcurl Manual" + .SH NAME curl_easy_escape - URL encodes the given string .SH SYNOPSIS @@ -39,6 +40,15 @@ If \fIlength\fP is set to 0 (zero), \fIcurl_easy_escape(3)\fP uses strlen() on the input \fIstring\fP to find out the size. You must \fIcurl_free(3)\fP the returned string when you're done with it. +.SH ENCODING +libcurl is typically not aware of, nor does it care about, character +encodings. \fIcurl_easy_escape(3)\fP encodes the data byte-by-byte into the +URL encoded version without knowledge or care for what particular character +encoding the application or the receiving server may assume that the data +uses. + +The caller of \fIcurl_easy_escape(3)\fP must make sure that the data passed in +to the funtion is encoded correctly. .SH AVAILABILITY Added in 7.15.4 and replaces the old \fIcurl_escape(3)\fP function. .SH RETURN VALUE |