From 901392cbb7939f43b7e7ed2b39135b45416a2714 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 26 Dec 2022 10:58:37 +0100 Subject: urlapi: add CURLU_PUNYCODE Allows curl_url_get() get the punycode version of host names for the host name and URL parts. Extend test 1560 to verify. Closes #10109 --- lib/strerror.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/strerror.c') diff --git a/lib/strerror.c b/lib/strerror.c index b9a51e26b..3d7193509 100644 --- a/lib/strerror.c +++ b/lib/strerror.c @@ -550,6 +550,9 @@ curl_url_strerror(CURLUcode error) case CURLUE_BAD_USER: return "Bad user"; + case CURLUE_LACKS_IDN: + return "libcurl lacks IDN support"; + case CURLUE_LAST: break; } -- cgit v1.2.1