diff options
author | Georg Brandl <georg@python.org> | 2014-10-07 14:45:58 +0200 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2014-10-07 14:45:58 +0200 |
commit | e3b37e0dc370ec4671ffb09030cf7e723438b83b (patch) | |
tree | 9987f1dfd5637c17186d6d3b9cd251cf5afbc97e /pygments/formatters/latex.py | |
parent | 9a51e6a6df8a56aebede133687e91e519a186122 (diff) | |
download | pygments-e3b37e0dc370ec4671ffb09030cf7e723438b83b.tar.gz |
Closes #979: improve encoding behavior of cmdline invocations
Now the preferred locale encoding is used for stdin/stdout if the encoding is not set
on the file objects.
Also, code from input files is tried to be decoded as UTF-8, the locale encoding and
finally latin-1 as a last resort if no encoding option is given.
Diffstat (limited to 'pygments/formatters/latex.py')
0 files changed, 0 insertions, 0 deletions