[PATCH 0 of 2] highlight: avoid decode tracebacks
mpm at selenic.com
Wed Dec 12 10:58:31 CST 2007
On Wed, Dec 12, 2007 at 03:12:00PM +0100, Christian Ebert wrote:
> First patch replaces unnecessary keyword arguments.
> Second patch tries to make a consistent approach at avoiding
> tracebacks due to UnicodeDecodeError.
> We need to pass encoding parameters to pygments lexers and
> To ensure that the lexer can digest its input, we encode the
> input with util.tolocal.
> Possible issue:
> util._encoding and hgweb.encoding /conflict/.
That is ugly. We should probably set util._encoding from
Mathematics is the supreme nostalgia of our time.
More information about the Mercurial-devel