summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TODO4
-rw-r--r--pygments/lexer.py1
2 files changed, 5 insertions, 0 deletions
diff --git a/TODO b/TODO
index 13bda890..d6052264 100644
--- a/TODO
+++ b/TODO
@@ -4,10 +4,14 @@ Todo
for 0.6
-------
+- encoding, unicode support
+
- improve guess_lexer heuristics (esp. for template langs)
- more unit tests (pygmentize...)
+- help for -O and -a cmdline options
+
- allow "overlay" token types (e.g. Diff + X)
- highlight specials: nth line, a word etc.
- dhtml: overlays toggleable by javascript
diff --git a/pygments/lexer.py b/pygments/lexer.py
index 1b55c5d0..cd9671fd 100644
--- a/pygments/lexer.py
+++ b/pygments/lexer.py
@@ -74,6 +74,7 @@ class Lexer(object):
self.stripnl = get_bool_opt(options, 'stripnl', True)
self.stripall = get_bool_opt(options, 'stripall', False)
self.tabsize = get_int_opt(options, 'tabsize', 0)
+ self.encoding = options.get('encoding', '')
def __repr__(self):
if self.options: