diff options
author | gbrandl <devnull@localhost> | 2006-12-16 19:10:06 +0100 |
---|---|---|
committer | gbrandl <devnull@localhost> | 2006-12-16 19:10:06 +0100 |
commit | 05d0e660cbb25c7a5335a12b53dff1de111c6d71 (patch) | |
tree | f70e139ca0a187f0b43bdd63fbe5455f42ba300b /pygments/formatters/other.py | |
parent | ef9a7df759fbd24f4728ff8a32e7ba9b3ac42157 (diff) | |
download | pygments-05d0e660cbb25c7a5335a12b53dff1de111c6d71.tar.gz |
[svn] Make RawTokenFormatter/Lexer use unicode escaped strings.
Diffstat (limited to 'pygments/formatters/other.py')
-rw-r--r-- | pygments/formatters/other.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/formatters/other.py b/pygments/formatters/other.py index 11e2566c..b3abe9da 100644 --- a/pygments/formatters/other.py +++ b/pygments/formatters/other.py @@ -62,7 +62,7 @@ class RawTokenFormatter(Formatter): lasttype = None lastval = u'' for ttype, value in tokensource: - value = value.encode(self.encoding) + value = repr(value) if ttype is lasttype: lastval += value else: |