urlapi: CURLU_PUNY2IDN - convert from punycode to IDN name

Asssisted-by: Jay Satiro
Closes #11655
This commit is contained in:
Daniel Stenberg 2023-08-11 09:41:28 +02:00
parent 0efe8b215c
commit c350069f64
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
7 changed files with 93 additions and 1 deletions

View file

@ -97,6 +97,7 @@ typedef enum {
scheme is unknown. */
#define CURLU_ALLOW_SPACE (1<<11) /* Allow spaces in the URL */
#define CURLU_PUNYCODE (1<<12) /* get the host name in punycode */
#define CURLU_PUNY2IDN (1<<13) /* punycode => IDN conversion */
typedef struct Curl_URL CURLU;