[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
6.6 Simplified ToUnicode Interface
idna_to_unicode_4z4z
- Function: 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: an
Idna_flags
value, e.g.,IDNA_ALLOW_UNASSIGNED
orIDNA_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.
idna_to_unicode_8z4z
- Function: 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: an
Idna_flags
value, e.g.,IDNA_ALLOW_UNASSIGNED
orIDNA_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.
idna_to_unicode_8z8z
- Function: 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: an
Idna_flags
value, e.g.,IDNA_ALLOW_UNASSIGNED
orIDNA_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.
idna_to_unicode_8zlz
- Function: 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: an
Idna_flags
value, e.g.,IDNA_ALLOW_UNASSIGNED
orIDNA_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.
idna_to_unicode_lzlz
- Function: 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: an
Idna_flags
value, e.g.,IDNA_ALLOW_UNASSIGNED
orIDNA_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.
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
This document was generated on February 1, 2012 using texi2html 5.0.