mirror of
https://github.com/curl/curl.git
synced 2026-08-26 07:23:31 +03:00
urlapi: CURLU_PUNY2IDN - convert from punycode to IDN name
Asssisted-by: Jay Satiro Closes #11655
This commit is contained in:
parent
0efe8b215c
commit
c350069f64
7 changed files with 93 additions and 1 deletions
|
|
@ -91,6 +91,16 @@ If libcurl is built without IDN capabilities, using this bit will make
|
|||
anything outside the ASCII range.
|
||||
|
||||
(Added in curl 7.88.0)
|
||||
.IP CURLU_PUNY2IDN
|
||||
If set and asked to retrieve the \fBCURLUPART_HOST\fP or \fBCURLUPART_URL\fP
|
||||
parts, libcurl returns the host name in its IDN (International Domain Name)
|
||||
UTF-8 version if it otherwise is a punycode version.
|
||||
|
||||
If libcurl is built without IDN capabilities, using this bit will make
|
||||
\fIcurl_url_get(3)\fP return \fICURLUE_LACKS_IDN\fP if the host name is using
|
||||
punycode.
|
||||
|
||||
(Added in curl 8.3.0)
|
||||
.SH PARTS
|
||||
.IP CURLUPART_URL
|
||||
When asked to return the full URL, \fIcurl_url_get(3)\fP will return a
|
||||
|
|
|
|||
|
|
@ -1063,6 +1063,7 @@ CURLU_NO_AUTHORITY 7.67.0
|
|||
CURLU_NO_DEFAULT_PORT 7.62.0
|
||||
CURLU_NON_SUPPORT_SCHEME 7.62.0
|
||||
CURLU_PATH_AS_IS 7.62.0
|
||||
CURLU_PUNY2IDN 8.3.0
|
||||
CURLU_PUNYCODE 7.88.0
|
||||
CURLU_URLDECODE 7.62.0
|
||||
CURLU_URLENCODE 7.62.0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue