unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Will Parsons <wbp@nodomain.invalid>
To: help-gnu-emacs@gnu.org
Subject: Understanding how to specify UTF-8
Date: 7 Apr 2017 23:43:55 GMT	[thread overview]
Message-ID: <ekqmhrF71umU1@mid.individual.net> (raw)

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


             reply	other threads:[~2017-04-07 23:43 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-07 23:43 Will Parsons [this message]
2017-04-08  7:29 ` Understanding how to specify UTF-8 Eli Zaretskii
2017-04-13  5:09 ` B. T. Raven
2017-04-13  6:37   ` (unknown) Eli Zaretskii
2017-04-13  7:18   ` Understanding how to specify UTF-8 Eli Zaretskii
2017-04-13  9:42     ` hector
2017-04-14 23:37   ` Will Parsons
2017-04-21  9:28 ` Jason Rumney
2017-04-21 10:54   ` Eli Zaretskii
2017-04-21 17:36   ` Will Parsons
2017-05-29 15:16   ` Understanding cross version problem Francis Belliveau
2017-05-29 16:38     ` Drew Adams
2017-04-21 18:30 ` Understanding how to specify UTF-8 Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ekqmhrF71umU1@mid.individual.net \
    --to=wbp@nodomain.invalid \
    --cc=help-gnu-emacs@gnu.org \
    --cc=wbparsons@cshore.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).