idna_to_ascii_8z3
Api function
Usage
#include <idna.h>
int idna_to_ascii_8z(const char * input, char ** output, int flags);
Arguments
const char * input
|
zero terminated input UTF-8 string. |
|---|---|
char ** output
|
pointer to newly allocated output string. |
int flags
|
an |
Overview
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 IDNA_SUCCESS on success, or error code.
Releases
11 releases since Debian 3.1 (Sarge); the text changed 8 times.