c36316d29ed9 — Steve Fink 3 months ago
[landed] Force utf-8 encoding (windows fix)
1 files changed, 1 insertions(+), 1 deletions(-)

M bin/landed
M bin/landed +1 -1
@@ 139,7 139,7 @@ def gather_revisions(revset, limit=None,
         earliest = datetime.datetime.now() - datetime.timedelta(days=datelimit)
     report_interval = 100 if args.user else 10000
     n = 0
-    process = subprocess.Popen(cmd, stdout=subprocess.PIPE, text=True)
+    process = subprocess.Popen(cmd, stdout=subprocess.PIPE, text=True, encoding='utf-8')
     try:
         for info in gen_revisions(iter(process.stdout.readline, '')):
             n += 1