Both hgwebdir.cgi and webserve-dir.cgi are mbcs broken

Matt Mackall mpm at selenic.com
Thu Feb 1 06:46:54 GMT 2007


On Thu, Feb 01, 2007 at 02:41:34PM +0800, Dongsheng Song wrote:
> I just wondered why my filename use GB18030, but log messages use UTF-8 ?

Mercurial stores log messages internally as UTF-8 but -always-
displays them in whatever locale the environment it is run in tells it
to. So either your webserver is running the CGI script in a UTF-8
locale or you've set HGENCODING to UTF-8.

-- 
Mathematics is the supreme nostalgia of our time.



More information about the bazaar mailing list