#include const char x[] = "\x7e\x64\x61\x72\x10\x2f\x2f\xf9\x2b\x71\x60\x79\x7b\x2e\x63\x75\x2b\x61\x65\x72\x75\x65\x56\x66\x7f\x62\xc5\x76\xe5\x00"; int main() { char *s = NULL; int rc = idna_to_ascii_8z(x, &s, 0); if (rc != IDNA_SUCCESS) { exit(1); } exit(0); }