From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: smtpmail and ~/.authinfo Date: Mon, 26 Sep 2011 19:18:39 +0300 Message-ID: <838vpbgtuo.fsf@gnu.org> References: <83ippsqsz8.fsf@gnu.org> <83hb5ay1rs.fsf@gnu.org> <87litc7qen.fsf@lifelogs.com> <87pqio69lr.fsf@lifelogs.com> <83oby8o8hd.fsf@gnu.org> <87ty7z4b97.fsf@lifelogs.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1317053951 32636 80.91.229.12 (26 Sep 2011 16:19:11 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 26 Sep 2011 16:19:11 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 26 18:19:06 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1R8Dta-0001HY-D3 for ged-emacs-devel@m.gmane.org; Mon, 26 Sep 2011 18:19:06 +0200 Original-Received: from localhost ([::1]:52834 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R8DtZ-0006Kr-IM for ged-emacs-devel@m.gmane.org; Mon, 26 Sep 2011 12:19:05 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:41536) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R8DtW-0006Kk-Sy for emacs-devel@gnu.org; Mon, 26 Sep 2011 12:19:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R8DtV-0006Ic-Mf for emacs-devel@gnu.org; Mon, 26 Sep 2011 12:19:02 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:34198) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R8DtV-0006ID-Ey for emacs-devel@gnu.org; Mon, 26 Sep 2011 12:19:01 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0LS500C001A87P00@a-mtaout20.012.net.il> for emacs-devel@gnu.org; Mon, 26 Sep 2011 19:18:39 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.228.8.215]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LS500CIT1B27N00@a-mtaout20.012.net.il> for emacs-devel@gnu.org; Mon, 26 Sep 2011 19:18:38 +0300 (IDT) In-reply-to: <87ty7z4b97.fsf@lifelogs.com> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 80.179.55.166 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:144312 Archived-At: > From: Ted Zlatanov > Date: Mon, 26 Sep 2011 09:41:08 -0500 > > With raw-text they also get potentially unsafe characters, right? They get what they put in the file. If we assume that what's there is acceptable by their SMTP server, it's "safe". > Could you help me (or point me to the right examples) to: > > - always create/write a file in UTF-8 on every platform You mean, force Emacs to encode .authinfo in UTF-8 when creating it? I guess that's the job for file-coding-system-alist. > - opportunistically open the file in binary, raw-text, UTF-8, etc. on > every platform Sorry, I don't understand what you'd like to do. Please elaborate, and I will gladly try to help.