changeset 3906 | 1063a631cb8e |
parent 3891 | 6b4127c7d52a |
parent 3904 | 0dd07dd63db3 |
child 4335 | f4a1eac52d43 |
--- a/mercurial/templater.py Fri Dec 15 20:16:20 2006 -0800 +++ b/mercurial/templater.py Sat Dec 16 02:51:16 2006 -0200 @@ -203,7 +203,7 @@ 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):