diff options
| author | Jon Dufresne <jon.dufresne@gmail.com> | 2019-10-21 16:49:13 -0700 |
|---|---|---|
| committer | Jon Dufresne <jon.dufresne@gmail.com> | 2019-10-21 16:55:38 -0700 |
| commit | d89682fcba90595d5d6aaf071d6efcc815bceba8 (patch) | |
| tree | 4844aba88f0587cdb3cb4714f24d3ced90dd3eb7 /setuptools/tests/test_test.py | |
| parent | 1362c8c37355f74b5aa9a8afb749aa9464bb58fb (diff) | |
| download | python-setuptools-git-d89682fcba90595d5d6aaf071d6efcc815bceba8.tar.gz | |
Change coding cookie to use utf-8 (lowercase)
While perfectly valid, the encoding 'UTF-8' (uppercase) is not
recognized by the Emacs MULE system. As such, it displays the following
warning when opening a file with it used as an encoding cookie:
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.
Some discussion of this can be found at:
https://stackoverflow.com/questions/14031724/how-to-make-emacs-accept-utf-8-uppercase-encoding
While the post does offer a workaround for Emacs users, rather than ask
all to implement it, use the more typical utf-8 (lowercase).
Diffstat (limited to 'setuptools/tests/test_test.py')
| -rw-r--r-- | setuptools/tests/test_test.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/tests/test_test.py b/setuptools/tests/test_test.py index faaa6ba9..3415913b 100644 --- a/setuptools/tests/test_test.py +++ b/setuptools/tests/test_test.py @@ -1,4 +1,4 @@ -# -*- coding: UTF-8 -*- +# -*- coding: utf-8 -*- from __future__ import unicode_literals |
