author | Alexis S. L. Carvalho <alexis@cecm.usp.br> |
Sat, 16 Dec 2006 02:21:46 -0200 | |
changeset 3904 | 0dd07dd63db3 |
parent 3901 | 733d56b8830f |
child 3905 | a8c0365b2ace |
--- a/mercurial/templater.py +++ b/mercurial/templater.py @@ -204,7 +204,7 @@ def nl2br(text): return text.replace('\n', '<br/>\n') def obfuscate(text): - text = unicode(text, 'utf-8', 'replace') + text = unicode(text, util._encoding, 'replace') return ''.join(['&#%d;' % ord(c) for c in text]) def domain(author):