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: Nextstep build uses iso-latin by default. WHY? Date: Fri, 11 Mar 2016 22:49:09 +0200 Message-ID: <831t7givui.fsf@gnu.org> References: <56E32A19.7060304@alice.it> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1457729403 24151 80.91.229.3 (11 Mar 2016 20:50:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 11 Mar 2016 20:50:03 +0000 (UTC) Cc: emacs-devel@gnu.org To: Angelo Graziosi Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Mar 11 21:49:58 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aeU0U-0007Zn-5S for ged-emacs-devel@m.gmane.org; Fri, 11 Mar 2016 21:49:58 +0100 Original-Received: from localhost ([::1]:57610 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aeU0T-0003rJ-Lz for ged-emacs-devel@m.gmane.org; Fri, 11 Mar 2016 15:49:57 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56666) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aeU0P-0003oD-39 for emacs-devel@gnu.org; Fri, 11 Mar 2016 15:49:54 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aeU0K-0002ex-BQ for emacs-devel@gnu.org; Fri, 11 Mar 2016 15:49:53 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:53568) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aeU0K-0002em-8A; Fri, 11 Mar 2016 15:49:48 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4112 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aeU0I-0005Nr-Cv; Fri, 11 Mar 2016 15:49:48 -0500 In-reply-to: <56E32A19.7060304@alice.it> (message from Angelo Graziosi on Fri, 11 Mar 2016 21:27:05 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e 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:201488 Archived-At: > From: Angelo Graziosi > Date: Fri, 11 Mar 2016 21:27:05 +0100 > > Now (with no ~/.emacs.d nor other initialization files), "C-x C-f > foo.txt" creates foo.txt with iso-latin-1. For ages it was similar to > the behavior on GNU/Linux. What is your locale, as known to Emacs when it starts? > I don't understand why you adopted this change.. It was discussed here: http://lists.gnu.org/archive/html/emacs-devel/2016-02/msg00000.html http://debbugs.gnu.org/cgi/bugreport.cgi?bug=22392 Why do you think Emacs should use a UTF-8 locale in your case? > How can I restore the previous behavior? If you only want to have the files' default encoding be UTF-8, add this to your ~/.emacs: (setq-default buffer-file-coding-system 'utf-8) If you want to override your entire locale with UTF-8, do this: (set-locale-environment "utf-8")