summaryrefslogtreecommitdiff
path: root/examples/pythonGrammarParser.py
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2018-12-22 09:36:43 -0800
committerJon Dufresne <jon.dufresne@gmail.com>2018-12-22 09:40:39 -0800
commitcb41f187ea1cfbb050d3a6892547a561cadbc6a4 (patch)
tree6642b12beb9e63002be895909af9627e0f3e9075 /examples/pythonGrammarParser.py
parentdf1bf408c5709478a6e30186a9ce70d55e4f2488 (diff)
downloadpyparsing-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