Add encoding= to hgweb, thanks Kamil Kisiel.