idna_to_unicode_lzlz3
Api function
Usage
#include <idna.h>
int idna_to_unicode_lzlz(const char * input, char ** output, int flags);
Arguments
- const char * input
-
zero-terminated string encoded in the current locale's character set.
- char ** output
-
pointer to newly allocated output string encoded in the current locale's character set.
- int flags
-
an
Idna_flagsvalue, e.g.,IDNA_ALLOW_UNASSIGNEDorIDNA_USE_STD3_ASCII_RULES.
Overview
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.
Releases
11 releases since Debian 3.1 (Sarge); the text changed 8 times.