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: Wed, 28 Sep 2011 11:38:35 +0300 Message-ID: <83fwjhf4dw.fsf@gnu.org> References: <83ippsqsz8.fsf@gnu.org> <83hb5ay1rs.fsf@gnu.org> <87litc7qen.fsf@lifelogs.com> <87pqio69lr.fsf@lifelogs.com> <87vcsf1537.fsf@lifelogs.com> <8739fj13vb.fsf@lifelogs.com> <87bou639wx.fsf@uwakimon.sk.tsukuba.ac.jp> <878vpauvm9.fsf@lifelogs.com> <8762ke2mhq.fsf@uwakimon.sk.tsukuba.ac.jp> <87bou5vj1f.fsf@lifelogs.com> <871uv1igui.fsf@uwakimon.sk.tsukuba.ac.jp> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1317199152 6369 80.91.229.12 (28 Sep 2011 08:39:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 28 Sep 2011 08:39:12 +0000 (UTC) Cc: emacs-devel@gnu.org To: "Stephen J. Turnbull" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 28 10:39:08 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 1R8pfY-0003m2-AY for ged-emacs-devel@m.gmane.org; Wed, 28 Sep 2011 10:39:08 +0200 Original-Received: from localhost ([::1]:38528 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R8pfX-00013V-OG for ged-emacs-devel@m.gmane.org; Wed, 28 Sep 2011 04:39:07 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:60202) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R8pfU-00011Z-Sw for emacs-devel@gnu.org; Wed, 28 Sep 2011 04:39:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R8pfT-0008NM-HL for emacs-devel@gnu.org; Wed, 28 Sep 2011 04:39:04 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:60798) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R8pfT-0008NE-6G for emacs-devel@gnu.org; Wed, 28 Sep 2011 04:39:03 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0LS800C00585Z900@a-mtaout20.012.net.il> for emacs-devel@gnu.org; Wed, 28 Sep 2011 11:38:35 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.228.8.215]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LS800CYC5C9AK80@a-mtaout20.012.net.il>; Wed, 28 Sep 2011 11:38:34 +0300 (IDT) In-reply-to: <871uv1igui.fsf@uwakimon.sk.tsukuba.ac.jp> 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:144437 Archived-At: > From: "Stephen J. Turnbull" > Date: Wed, 28 Sep 2011 10:41:09 +0900 > > Ted Zlatanov writes: > > > I appreciate all the details and corrections; I thought UTF-8 was > > better and more widely useful than it really is. > > Please hang on to that impression. UTF-8 really is the best thing > since sliced bread FWIW, I agree. > Although in many localizations, Windows defaults to something other > than UTF-8 (AFAIK) for most text operations (including file system > access etc) To set the record straight: AFAIK there's not a single locale where Windows uses UTF-8 as the default encoding. Internal operations all use UTF-16, and file names are encoded by the NTFS filesystem in UTF-16 (FAT32 uses the locale-specific encoding, and thus can support only the characters in that encoding). Clipboard works in UTF-16. Etc. etc. > most Windows text applications do fine with UTF-8. True. Even Notepad can. There's a single exception, though: the shell (a.k.a. console) window. I cannot get "emacs -nw" on Windows use UTF-8 as its terminal encoding, nor have other Windows programs display UTF-8 in the console window. There's a UTF-8 codepage allegedly supported by Windows, but if I set the console window to use that codepage, I get gibberish or a crashed application. Maybe I'm doing something wrong.