14.2. IDNA Emacs API

idna-program Name of the GNU Libidn idn application. The default is idn. This variable can be customized.

idna-environment List of environment variable definitions prepended to process-environment. The default is ("CHARSET=UTF-8"). This variable can be customized.

idna-to-ascii-parameters List of parameters passed to idna-program to invoke IDNA ToASCII mode. The default is ("--quiet" "--idna-to-ascii" "--usestd3asciirules"). This variable can be customized.

idna-to-unicode-parameters Parameters passed idna-program to invoke IDNA ToUnicode mode. The default is ("--quiet" "--idna-to-unicode" "--usestd3asciirules"). This variable can be customized.

idna-to-ascii string Returns an ASCII Compatible Encoding (ACE) of the string computed by the IDNA ToASCII operation on the input string, after converting the input to UTF-8.

idna-to-unicode string Returns a possibly multibyte string which is the output of the IDNA ToUnicode operation computed on the input string.