help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Understanding how to specify UTF-8


From: Will Parsons
Subject: Understanding how to specify UTF-8
Date: 7 Apr 2017 23:43:55 GMT
User-agent: slrn/1.0.3 (CYGWIN_NT-6.1)

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 via email to

[Prev in Thread] Current Thread [Next in Thread]