Issue 331: Encoding problems in command promt
http://bitbucket.org/tortoisehg/stable/issue/331/encoding-problems-in-command-promt

Steve Borho / sborho on Tue, 30 Jun 2009 07:38:06 +0200:

Comment:
  Wierd as that sounds, you should be able to "monkey patch" hgtk via the 
mercurial extension mechanism.

Write to C:\rucphack.py
{{{
from thgutil import i18n
_agettext = i18n.agettext
i18n.agettext = lambda s: _agettext(s).decode('cp1251').encode('cp866')
}}}

Then add to your Mercurial.ini
{{{
[extensions]
rucphack = C:\rucphack.py
}}}

-- 
This is an issue notification from bitbucket.org.
You are receiving this either because you are the
owner of the issue, or you are following the issue.

------------------------------------------------------------------------------
_______________________________________________
Tortoisehg-develop mailing list
Tortoisehg-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop

Reply via email to