summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Geisler <martin@geisler.net>2013-08-28 10:00:39 +0200
committerMartin Geisler <martin@geisler.net>2013-08-28 10:00:39 +0200
commit8c079b3b0a06a7e7328d67f74012367878884935 (patch)
treedbbe88543df7fc113ba1880d5d86fff923d8f26f
parent66b2d23961b02b86e0ff26b3ffcb6405f7dcedf1 (diff)
downloadmako-8c079b3b0a06a7e7328d67f74012367878884935.tar.gz
Use Emacs compatible coding system
Emacs doesn't recognize "utf8" as a valid coding system. The correct name is "utf-8". This is in line with the UTF-8 FAQ: http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8 The official name and spelling of this encoding is UTF-8, where UTF stands for UCS Transformation Format. Please do not write UTF-8 in any documentation text in other ways (such as utf8 or UTF_8), unless of course you refer to a variable name and not the encoding itself.
-rw-r--r--test/templates/chs_unicode.html2
-rw-r--r--test/templates/chs_unicode_py3k.html2
-rw-r--r--test/templates/chs_utf8.html2
3 files changed, 3 insertions, 3 deletions
diff --git a/test/templates/chs_unicode.html b/test/templates/chs_unicode.html
index 57fccdf..7b897e9 100644
--- a/test/templates/chs_unicode.html
+++ b/test/templates/chs_unicode.html
@@ -1,4 +1,4 @@
-## -*- coding:utf8 -*-
+## -*- coding:utf-8 -*-
<%
msg = u'新中国的主席'
%>
diff --git a/test/templates/chs_unicode_py3k.html b/test/templates/chs_unicode_py3k.html
index bffe330..e4b6a8f 100644
--- a/test/templates/chs_unicode_py3k.html
+++ b/test/templates/chs_unicode_py3k.html
@@ -1,4 +1,4 @@
-## -*- coding:utf8 -*-
+## -*- coding:utf-8 -*-
<%
msg = '新中国的主席'
%>
diff --git a/test/templates/chs_utf8.html b/test/templates/chs_utf8.html
index 170d626..5f4733f 100644
--- a/test/templates/chs_utf8.html
+++ b/test/templates/chs_utf8.html
@@ -1,4 +1,4 @@
-## -*- coding:utf8 -*-
+## -*- coding:utf-8 -*-
<%
msg = '新中国的主席'
%>