@subheading idna_to_ascii_8z
@anchor{idna_to_ascii_8z}
@deftypefun {int} {idna_to_ascii_8z} (const char * @var{input}, char ** @var{output}, int @var{flags})
@var{input}: zero terminated input UTF-8 string.

@var{output}: pointer to newly allocated output string.

@var{flags}: an @code{Idna_flags}  value, e.g., @code{IDNA_ALLOW_UNASSIGNED}  or
@code{IDNA_USE_STD3_ASCII_RULES} .

Convert UTF-8 domain name to ASCII string.  The domain name may
contain several labels, separated by dots.  The output buffer must
be deallocated by the caller.

Return value: Returns @code{IDNA_SUCCESS}  on success, or error code.
@end deftypefun

