IDN(2)IDN(2)
NAME
utf2idn, idn2utf – convert internationalized domain names to and from unicode
SYNOPSIS
int utf2idn(char *name, char *buf, int nbuf);
int idn2utf(char *name, char *buf, int nbuf);
DESCRIPTION
These routines handle encoding and decoding of domain names as specified by RFC5890.
SOURCE
SEE ALSO
DIAGNOSTICS
The return value is the number of bytes (excluding the terminating NULL) in