From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: How to select the default coding system Date: Thu, 18 Sep 2014 05:46:59 +0300 Message-ID: <83a95x3asc.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1411008459 4568 80.91.229.3 (18 Sep 2014 02:47:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 18 Sep 2014 02:47:39 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Sep 18 04:47:32 2014 Return-path: Envelope-to: geh-help-gnu-emacs@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 1XURkq-0003xy-1Z for geh-help-gnu-emacs@m.gmane.org; Thu, 18 Sep 2014 04:47:32 +0200 Original-Received: from localhost ([::1]:48212 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XURkp-0001wP-JA for geh-help-gnu-emacs@m.gmane.org; Wed, 17 Sep 2014 22:47:31 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42914) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XURkZ-0001vJ-04 for help-gnu-emacs@gnu.org; Wed, 17 Sep 2014 22:47:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XURkP-0007F4-4n for help-gnu-emacs@gnu.org; Wed, 17 Sep 2014 22:47:14 -0400 Original-Received: from mtaout29.012.net.il ([80.179.55.185]:60000) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XURkO-0007EW-Sl for help-gnu-emacs@gnu.org; Wed, 17 Sep 2014 22:47:05 -0400 Original-Received: from conversion-daemon.mtaout29.012.net.il by mtaout29.012.net.il (HyperSendmail v2007.08) id <0NC200100RX1FX00@mtaout29.012.net.il> for help-gnu-emacs@gnu.org; Thu, 18 Sep 2014 05:46:38 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout29.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NC200NDYT1QG050@mtaout29.012.net.il> for help-gnu-emacs@gnu.org; Thu, 18 Sep 2014 05:46:38 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.179.55.185 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:99993 Archived-At: > Date: Wed, 17 Sep 2014 16:05:04 +0200 > From: Mikael Djurfeldt > Cc: Mikael Djurfeldt > > Q: What is the natural way to specify the default coding system, > preferrably using the GUI (to facilitate things for this novel user). It's supposed to be automatically set according to the user's locale. If that user's locale is not UTF-8, then please ask them to provide the details why they want UTF-8 nonetheless, because it could bite them down the road. To answer your question more directly, the command to set up a certain locale environment is "M-x set-locale-environment". It accepts the "pseudo-environment" "utf-8", as well as "normal" locale names, such as "en_US.8859-1".