24#ifndef NETSURF_UTILS_IDNA_H_
25#define NETSURF_UTILS_IDNA_H_
30#define IDNA_UNICODE_CCC_VIRAMA 9
57nserror idna_decode(
const char *ace_host,
size_t ace_len,
char **host,
size_t *host_len);
nserror
Enumeration of error codes.
nserror idna_encode(const char *host, size_t len, char **ace_host, size_t *ace_len)
Convert a hostname to an ACE version suitable for DNS lookup.
nserror idna_decode(const char *ace_host, size_t ace_len, char **host, size_t *host_len)
Convert a hostname from ACE to UTF-8 suitable for display.