[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnurl] 118/208: curl_easy_escape.3: mention the (lack of)
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnurl] 118/208: curl_easy_escape.3: mention the (lack of) encoding |
Date: |
Wed, 09 Aug 2017 17:35:15 +0200 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to annotated tag gnurl-7.55.0
in repository gnurl.
commit a126ca8481b41c46231da4b927520c37c7302fc4
Author: Daniel Stenberg <address@hidden>
AuthorDate: Fri Jul 7 10:47:46 2017 +0200
curl_easy_escape.3: mention the (lack of) encoding
Fixes #1612
Reported-by: Jeroen Ooms
---
docs/libcurl/curl_easy_escape.3 | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/docs/libcurl/curl_easy_escape.3 b/docs/libcurl/curl_easy_escape.3
index d2b6cd286..c8b7b6a4b 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, <address@hidden>, et al.
+.\" * Copyright (C) 1998 - 2017, Daniel Stenberg, <address@hidden>, et al.
.\" *
.\" * This software is licensed as described in the file COPYING, which
.\" * you should have received as part of this distribution. The terms
@@ -39,6 +39,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
--
To stop receiving notification emails like this one, please contact
address@hidden
- [GNUnet-SVN] [gnurl] 122/208: cmake: offer CMAKE_DEBUG_POSTFIX when building with MSVC, (continued)
- [GNUnet-SVN] [gnurl] 122/208: cmake: offer CMAKE_DEBUG_POSTFIX when building with MSVC, gnunet, 2017/08/09
- [GNUnet-SVN] [gnurl] 108/208: select.h: avoid macro redefinition harder, gnunet, 2017/08/09
- [GNUnet-SVN] [gnurl] 128/208: tool_cb_wrt: fix variable shadowing warning, gnunet, 2017/08/09
- [GNUnet-SVN] [gnurl] 127/208: RELEASE-NOTES: synced with be2c999b8, gnunet, 2017/08/09
- [GNUnet-SVN] [gnurl] 109/208: cmake: if inet_pton is used, bump _WIN32_WINNT, gnunet, 2017/08/09
- [GNUnet-SVN] [gnurl] 25/208: tests: stabilize test 2032 and 2033, gnunet, 2017/08/09
- [GNUnet-SVN] [gnurl] 141/208: system.h: include winsock2.h before windows.h, gnunet, 2017/08/09
- [GNUnet-SVN] [gnurl] 46/208: mkhelp.pl: fix script name in usage text, gnunet, 2017/08/09
- [GNUnet-SVN] [gnurl] 124/208: travis: detect and use valgrind for normal builds, gnunet, 2017/08/09
- [GNUnet-SVN] [gnurl] 140/208: build: remove WIN32_LEAN_AND_MEAN from individual build systems, gnunet, 2017/08/09
- [GNUnet-SVN] [gnurl] 118/208: curl_easy_escape.3: mention the (lack of) encoding,
gnunet <=
- [GNUnet-SVN] [gnurl] 134/208: make: fix docs build on OpenBSD, gnunet, 2017/08/09
- [GNUnet-SVN] [gnurl] 114/208: cmake: remove spurious "-l" from linker flags, gnunet, 2017/08/09
- [GNUnet-SVN] [gnurl] 45/208: RELEASE-NOTES: synced with 3b80d3ca4, gnunet, 2017/08/09
- [GNUnet-SVN] [gnurl] 75/208: CURLOPT_SOCKS5_AUTH: allowed methods for SOCKS5 proxy auth, gnunet, 2017/08/09
- [GNUnet-SVN] [gnurl] 126/208: travis: install stunnel, gnunet, 2017/08/09
- [GNUnet-SVN] [gnurl] 160/208: curl_rtmp: fix a compiler warning, gnunet, 2017/08/09
- [GNUnet-SVN] [gnurl] 136/208: tests: Fix up issues with errno in test files, gnunet, 2017/08/09
- [GNUnet-SVN] [gnurl] 161/208: include.d: clarify that it concerns the response headers, gnunet, 2017/08/09
- [GNUnet-SVN] [gnurl] 62/208: maketgz: switch to -6e for xz, gnunet, 2017/08/09
- [GNUnet-SVN] [gnurl] 153/208: nss: unify the coding style of nss_send() and nss_recv(), gnunet, 2017/08/09