From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Will Parsons Newsgroups: gmane.emacs.help Subject: Understanding how to specify UTF-8 Date: 7 Apr 2017 23:43:55 GMT Message-ID: Reply-To: wbparsons@cshore.com NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1491608726 6362 195.159.176.226 (7 Apr 2017 23:45:26 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 7 Apr 2017 23:45:26 +0000 (UTC) User-Agent: slrn/1.0.3 (CYGWIN_NT-6.1) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Apr 08 01:45:22 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cwdZC-0000x8-Ag for geh-help-gnu-emacs@m.gmane.org; Sat, 08 Apr 2017 01:45:22 +0200 Original-Received: from localhost ([::1]:52980 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cwdZF-00081l-2o for geh-help-gnu-emacs@m.gmane.org; Fri, 07 Apr 2017 19:45:25 -0400 Original-Path: usenet.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 13 Original-X-Trace: individual.net 0xh1Ut5UKf6FZwCmJRNxCQNG/fUdquOoNr3Hnl4ZCZlPy1Bypm Cancel-Lock: sha1:GIDC8U0HaUwNcwmlwbY6cCVeWzk= Original-Xref: usenet.stanford.edu gnu.emacs.help:219081 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.help:112722 Archived-At: I want to always use Unicode/UTF-8 unless otherwise specified. I've noticed that I've attempted to do this in my .emacs file in two separate ways on two separate platforms: 1) (setq-default buffer-file-coding-system 'utf-8-unix) 2) (set-language-environment "UTF-8") Both seem to work, but I'm wondering if there are subtle differences between the two that I should be aware of. -- Will