mercurial/crecord.py
branchstable
changeset 46701 c6d9948e865f
parent 46700 279edaaea711
child 46788 693991ccfc49
--- a/mercurial/crecord.py	Fri Mar 12 18:51:22 2021 -0500
+++ b/mercurial/crecord.py	Fri Mar 12 18:55:06 2021 -0500
@@ -1152,7 +1152,7 @@
             numtrailingspaces = origlen - strippedlen
 
         if towin:
-            window.addstr(text, colorpair)
+            window.addstr(encoding.strfromlocal(text), colorpair)
         t += text
 
         if showwhtspc: