[tz] [PATCH] Add encoding directives for unibyte GNU Emacs.

Paul Eggert eggert at CS.UCLA.EDU
Tue Jun 24 21:55:26 UTC 2014

(Thanks to Garrett Wollman for reporting the problem.)
* NEWS, Theory, northamerica: Add "coding: utf-8" directives so
that GNU Emacs, when run in a unibyte locale, does not mistakenly
interpret these files to be unibyte.  This change should make no
difference if you use Emacs to read these files in a UTF-8 locale.
I didn't bother to add coding directives to files where GNU Emacs
already deduces the encoding correctly in a Latin-1 locale.
 NEWS         | 5 +++++
 Theory       | 6 ++++++
 northamerica | 5 +++++
 3 files changed, 16 insertions(+)

diff --git a/NEWS b/NEWS
index 6db64d9..5285236 100644
--- a/NEWS
+++ b/NEWS
@@ -22,6 +22,7 @@ Unreleased, experimental changes
     Documentation and commentary now prefer UTF-8 to US-ASCII,
     allowing the use of proper accents in foreign words and names.
     Code and data have not changed because of this.
+    (Thanks to Garrett Wollman for helping to debug this.)
     Non-HTML documentation and commentary now use plain-text URLs instead of
     HTML insertions, and are more consistent about bracketing URLs when they
@@ -2488,3 +2489,7 @@ Earlier versions of the code and data were not announced on the tz
 list and are not summarized here.
 This file is in the public domain.
+Local Variables:
+coding: utf-8
diff --git a/Theory b/Theory
index 17b08c6..98ac64d 100644
--- a/Theory
+++ b/Theory
@@ -747,3 +747,9 @@ Michael Allison and Robert Schmunk,
 Jia-Rui Chong, "Workdays Fit for a Martian", Los Angeles Times
 (2004-01-14), pp A1, A20-A21.
+Local Variables:
+coding: utf-8
diff --git a/northamerica b/northamerica
index 3009adc..b35939a 100644
--- a/northamerica
+++ b/northamerica
@@ -3138,3 +3138,8 @@ Zone America/Grand_Turk	-4:44:32 -	LMT	1890
 # British Virgin Is
 # Virgin Is
 # See 'southamerica'.
+# Local Variables:
+# coding: utf-8
+# End:

More information about the tz mailing list