idna_to_unicode

ldmud-3.3.719/doc/efun/idna_to_unicode · 477 B

From the archive ldmud-3.3.719.tar.gz

Download the archive   « Back to the archive contents

OPTIONAL
SYNOPSIS
        #include <sys/idn.h>

        string idna_to_unicode (string name)

DESCRIPTION
        Convert string <name> from idna representation (8z punycode)
        to UTF-8.

        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
        convert_charset(E), idna_to_ascii(E), idna_stringprep(E)

Site Stats

Snippets: 1791
Codebases: 571