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 /examples/pythonGrammarParser.py | |
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.
Diffstat (limited to 'examples/pythonGrammarParser.py')
0 files changed, 0 insertions, 0 deletions