emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: smtpmail and ~/.authinfo


From: Stephen J. Turnbull
Subject: Re: smtpmail and ~/.authinfo
Date: Tue, 27 Sep 2011 13:07:42 +0900

Lars Magne Ingebrigtsen writes:

 > On the other hand, if auth-source prompts for a password, and you type
 > in something non-ASCII, the result will probably be something utf8-ey, I
 > think?

No.  1.3 billion Chinese are very likely to use GB2312, not to mention
130 million Japanese who use Shift JIS.  These are not UTF-8-ey in
several ways, and Shift JIS even abuses octets in the ASCII range for
use in multibyte characters.

If you have *no* password and the user asks to store one, yes, use
UTF-8, and warn the user that Emacs has chosen to use the standard
Unicode encoding "UTF-8", but other applications (especially on
Windows) may choose something else.  In which case the user will be
unable to log in from those applications.

If you already have a password, it should be read verbatim (binary, or
raw-text should do given the line-oriented nature of these
configuration files) and treated as a binary blob.

 > Or what charset to use.  Probably slightly less confusing, but probably
 > not a whole lot more.

Mule should have a language-to-list-of-charset alist around somewhere.
Use that to generate a menu of suggestions.  Ask Ken'ichi about how to
access it.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]