int idna_to_unicode_4z4z
(const uint32_t * input, uint32_t ** output, int flags)
input: zero-terminated Unicode string.
output: pointer to newly allocated output Unicode string.
flags: IDNA flags, e.g. IDNA_ALLOW_UNASSIGNED or IDNA_USE_STD3_ASCII_RULES.
Convert possibly ACE encoded domain name in UCS-4 format into a UCS-4 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.
int idna_to_unicode_8z4z
(const char * input, uint32_t ** output, int flags)
input: zero-terminated UTF-8 string.
output: pointer to newly allocated output Unicode string.
flags: IDNA flags, e.g. IDNA_ALLOW_UNASSIGNED or IDNA_USE_STD3_ASCII_RULES.
Convert possibly ACE encoded domain name in UTF-8 format into a UCS-4 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.
int idna_to_unicode_8z8z
(const char * input, char ** output, int flags)
input: zero-terminated UTF-8 string.
output: pointer to newly allocated output UTF-8 string.
flags: IDNA flags, e.g. IDNA_ALLOW_UNASSIGNED or IDNA_USE_STD3_ASCII_RULES.
Convert possibly ACE encoded domain name in UTF-8 format into a UTF-8 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.
int idna_to_unicode_8zlz
(const char * input, char ** output, int flags)
input: zero-terminated UTF-8 string.
output: pointer to newly allocated output string encoded in the current locale's character set.
flags: IDNA flags, e.g. IDNA_ALLOW_UNASSIGNED or IDNA_USE_STD3_ASCII_RULES.
Convert possibly ACE encoded domain name in UTF-8 format into a string encoded in the current locale's character set. 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.
int idna_to_unicode_lzlz
(const char * input, char ** output, int flags)
input: zero-terminated string encoded in the current locale's
character set.
output: pointer to newly allocated output string encoded in the current locale's character set.
flags: IDNA flags, e.g. IDNA_ALLOW_UNASSIGNED or IDNA_USE_STD3_ASCII_RULES.
Convert possibly ACE encoded domain name in the locale's character set into a string encoded in the current locale's character set. 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.