highlight: fixes garbled text in non-UTF-8 environment

Christian Ebert blacktrash at gmx.net
Sat Sep 5 07:06:57 CDT 2009


* Yuya Nishihara on Saturday, September 05, 2009 at 20:34:43 +0900
> I want to reproduce the problem, but currently I cannot.
> 
> I've tested *.py files of 4 encodings:
>  iso-8859-1 (contains umlaut a), cp932 (japanese), euc-jp (japanese), utf-8
> against 5 HGENCODINGs:
>  ascii, iso-8859-1, cp932, euc-jp, utf-8
> by using HGENCODING=xxx path/to/crew-stable/hg serve 
>  or HGENCODING=xxx path/to/crew/hg serve
> but everything okay on my machine. No highlighting lost.

"hg serve" works here too. But hgwebdir.cgi loses all
highlighting (encoding is not the problem).

c
-- 
\black\trash movie    _C O W B O Y_  _C A N O E_  _C O M A_
                     Ein deutscher Western/A German Western
Next show: 18 September 2009 --->>    http://goldkante.org/
         --->> http://www.blacktrash.org/underdogma/ccc.php


More information about the Mercurial-devel mailing list