1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

[idn] Back to idn2_to_ascii_8z

Previous function did not work under DOS for me.
This commit is contained in:
Witold Filipczyk 2023-01-03 17:16:03 +01:00
parent 39843fafe2
commit acf7527624

View File

@ -556,7 +556,7 @@ add_uri_to_string(struct string *string, const struct uri *uri,
if (host) {
char *idname;
int code = idn2_lookup_ul(host, &idname, 0);
int code = idn2_to_ascii_8z(host, &idname, 0);
/* FIXME: Return NULL if it coughed? --jonas */
if (code == IDN2_OK) {