D3665: graph: improve graph output by using Unicode characters

quark (Jun Wu) phabricator at mercurial-scm.org
Sat Jun 16 14:10:58 EDT 2018


quark added a comment.


  In https://phab.mercurial-scm.org/D3665#58864, @johnstiles wrote:
  
  > Are you capable of running the extension?
  >
  > The output of `type` is irrelevant to me. The behavior of python.exe when outputting to the Windows shell is all that really matters here. If `encoding.encoding` reports UTF8, it should work or there's an Hg issue. If it reports something else, the extension will disable itself anyway.
  
  
  Running hg installed in WSL <https://docs.microsoft.com/en-us/windows/wsl/install-win10> inside cmd.exe, `encoding.encoding` is `utf-8`. Since it's still using cmd.exe font, it cannot render those fancy characters correctly.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D3665

To: johnstiles, #hg-reviewers, spectral
Cc: quark, spectral, indygreg, smf, yuja, mercurial-devel


More information about the Mercurial-devel mailing list