Mercurial > public > mercurial-scm > hg
diff mercurial/hgweb/hgwebdir_mod.py @ 3887:57b797601b61
Merge with crew
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Thu, 14 Dec 2006 15:55:46 -0600 |
parents | abaee83ce0a6 9c8488490724 |
children | 022056263354 |
line wrap: on
line diff
--- a/mercurial/hgweb/hgwebdir_mod.py Wed Dec 13 13:27:09 2006 -0600 +++ b/mercurial/hgweb/hgwebdir_mod.py Thu Dec 14 15:55:46 2006 -0600 @@ -60,7 +60,8 @@ def run_wsgi(self, req): def header(**map): - header_file = cStringIO.StringIO(''.join(tmpl("header", **map))) + header_file = cStringIO.StringIO( + ''.join(tmpl("header", encoding=util._encoding, **map))) msg = mimetools.Message(header_file, 0) req.header(msg.items()) yield header_file.read()