blob: e0c05e44b8f70366e007b78248c2eb397c0fcacd [file] [log] [blame]
OPTIONAL
SYNOPSIS
#include <idn.h>
string idna_to_ascii(string name)
DESCRIPTION
Convert string <name> from UTF-8 to idna representation (8z punycode).
If an error occurs, an exception is thrown.
The efun is available only if the system supports libidn - in
that case __IDNA__ is defined.
HISTORY
Introduced in LDMud 3.3.713.
SEE ALSO
idna_to_ascii(E), idna_stringprep(E)