idn2_to_unicode_lzlz3
Api function
Usage
#include <idn2.h>
int idn2_to_unicode_lzlz(const char * input, char ** output, int flags);
Arguments
const char * input
|
Input zero-terminated string encoded in the current locale's character set. |
|---|---|
char ** output
|
Newly allocated output string in current locale's character set. |
int flags
|
Currently unused. |
Overview
Converts a possibly ACE encoded domain name in the locale's character set into a string encoded in the current locale's character set (punycode decoding). The output buffer will be zero-terminated and must be deallocated by the caller.
output may be NULL to test lookup of input without allocating memory.
Since
2.0.0
Releases
5 releases since Debian 10 (Buster); the text changed 3 times.