diff options
author | Jon Dufresne <jon.dufresne@gmail.com> | 2018-12-22 09:36:43 -0800 |
---|---|---|
committer | Jon Dufresne <jon.dufresne@gmail.com> | 2018-12-22 09:40:39 -0800 |
commit | cb41f187ea1cfbb050d3a6892547a561cadbc6a4 (patch) | |
tree | 6642b12beb9e63002be895909af9627e0f3e9075 | |
parent | df1bf408c5709478a6e30186a9ce70d55e4f2488 (diff) | |
download | pyparsing-git-cb41f187ea1cfbb050d3a6892547a561cadbc6a4.tar.gz |
Fix encoding cookie to use encoding "utf-8"
The all caps "UTF-8" causes warnings or errors in some editors. "utf-8"
is more widely recognized. For example, when opening files in Emacs, I
see:
> Warning (mule): Invalid coding system ‘UTF-8’ is specified
> for the current buffer/file by the :coding tag.
> It is highly recommended to fix it before writing to a file.
> Really proceed with writing? (yes or no)
I'm then promped before saving.
The CPython source code uses the lowecase form.
-rw-r--r-- | examples/holaMundo.py | 2 | ||||
-rw-r--r-- | unitTests.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/holaMundo.py b/examples/holaMundo.py index 6ae2cc5..47ab6bb 100644 --- a/examples/holaMundo.py +++ b/examples/holaMundo.py @@ -1,4 +1,4 @@ -# -*- coding: UTF-8 -*-
+# -*- coding: utf-8 -*-
# escrito por Marco Alfonso, 2004 Noviembre
diff --git a/unitTests.py b/unitTests.py index b292694..0845451 100644 --- a/unitTests.py +++ b/unitTests.py @@ -1,4 +1,4 @@ -# -*- coding: UTF-8 -*-
+# -*- coding: utf-8 -*-
#
# unitTests.py
#
|