+2005-09-28 Simon Josefsson <jas@extundo.com>
+
+ * message.el (message-use-idna): Default to t.
+ (message-use-idna): Test whether encoding works too. Doc fix.
+
2005-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
* nntp.el (nntp-warn-about-losing-connection): Remove.
(file-error))
(mm-coding-system-p 'utf-8)
(executable-find idna-program)
- 'ask)
- "Whether to encode non-ASCII in domain names into ASCII according to IDNA."
+ (string= (idna-to-ascii "räksmörgås")
+ "xn--rksmrgs-5wao1o")
+ t)
+ "Whether to encode non-ASCII in domain names into ASCII according to IDNA.
+GNU Libidn, and in particular the elisp package \"idna.el\" and
+the external program \"idn\", must be installed for this
+functionality to work."
:version "22.1"
:group 'message-headers
:link '(custom-manual "(message)IDNA")
+2005-09-28 Simon Josefsson <jas@extundo.com>
+
+ * message.texi (IDNA): Fix.
+
2005-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
* gnus.texi (NNTP): Remove nntp-buggy-select, nntp-read-timeout,
@vindex message-use-idna
\e$BJQ?t\e(B @code{message-use-idna} \e$B$O\e(B @acronym{IDNA} \e$B$r;H$&$+$I$&$+$r@)8f$7$^\e(B
\e$B$9!#$3$NJQ?t$,\e(B @code{nil} \e$B$@$C$?$i\e(B @acronym{IDNA} \e$B%(%s%3!<%I$O9T$J$o$l$^\e(B
-\e$B$;$s!#%7%s%\%k\e(B @code{ask} \e$B$K@_Dj$5$l$F$$$k\e(B (\e$B%G%#%U%)%k%H\e(B) \e$B$H%f!<%6$O3NG'\e(B
-\e$B$r5a$a$i$l$^$9!#$=$7$F\e(B @code{t} \e$B$K@_Dj$5$l$F$$$k$H!"<+F0E*\e(B
+\e$B$;$s!#%7%s%\%k\e(B @code{ask} \e$B$K@_Dj$5$l$F$$$k$H%f!<%6$O3NG'$r5a$a$i$l$^$9$,!"\e(B
+@code{t} \e$B$K@_Dj$5$l$F$$$k\e(B (\e$B$=$l$,%G%#%U%)%k%H$G$9\e(B) \e$B$H!"<+F0E*\e(B
\e$B$K\e(B @acronym{IDNA} \e$B%(%s%3!<%I$,9T$J$o$l$^$9!#\e(B
@findex message-idna-to-ascii-rhs
The @code{message-use-idna} variable control whether @acronym{IDNA} is
used. If the variable is @code{nil} no @acronym{IDNA} encoding will
ever happen, if it is set to the symbol @code{ask} the user will be
-queried (the default), and if set to @code{t} @acronym{IDNA} encoding
-happens automatically.
+queried, and if set to @code{t} @acronym{IDNA} encoding happens
+automatically (the default).
@findex message-idna-to-ascii-rhs
If you want to experiment with the @acronym{IDNA} encoding, you can
invoke @kbd{M-x message-idna-to-ascii-rhs RET} in the message buffer
-to have the non-@acronym{ASCII} domain names encoded while you edit the message.
+to have the non-@acronym{ASCII} domain names encoded while you edit
+the message.
Note that you must have @uref{http://www.gnu.org/software/libidn/, GNU
Libidn} installed in order to use this functionality.