summaryrefslogtreecommitdiff
path: root/pygments/lexer.py
diff options
context:
space:
mode:
authorgbrandl <devnull@localhost>2007-01-25 20:00:35 +0100
committergbrandl <devnull@localhost>2007-01-25 20:00:35 +0100
commit1699701fd132c19974be66c5664a88a90a32a3d2 (patch)
tree7163ddc984cb36c862979a5f5f86bc4a4e85eaff /pygments/lexer.py
parent8661de37c9a04da977fd8da8542e36115ee83fb2 (diff)
downloadpygments-1699701fd132c19974be66c5664a88a90a32a3d2.tar.gz
[svn] - add missing example files
- add "outencoding" option to formatters - improve cmdline error reporting
Diffstat (limited to 'pygments/lexer.py')
-rw-r--r--pygments/lexer.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pygments/lexer.py b/pygments/lexer.py
index f984416a..016c60a6 100644
--- a/pygments/lexer.py
+++ b/pygments/lexer.py
@@ -84,6 +84,7 @@ class Lexer(object):
self.stripall = get_bool_opt(options, 'stripall', False)
self.tabsize = get_int_opt(options, 'tabsize', 0)
self.encoding = options.get('encoding', 'latin1')
+ # self.encoding = options.get('inencoding', None) or self.encoding
self.filters = []
for filter in get_list_opt(options, 'filters', ()):
self.add_filter(filter)