[Reportbug-maint] Bug#857794: reportbug: crash when encountering some non-ASCII characters

2017-03-21 Thread Stuart Prescott
Hi Nis, Others may have some additional comments but a couple of thoughts from an observer (I'm not the maintainer). C.UTF-8 is provided within glibc (it's in the libc-bin package so it is always available). Is it worth setting that as the locale for all communication with subprocesses? It str

[Reportbug-maint] Bug#857794: reportbug: crash when encountering some non-ASCII characters

2017-03-21 Thread Nis Martensen
Thank you for your report, and for the nice recipe to reproduce the bug. Can you try the attached patch? >From f42c5879b91b11a986e93f7f92244cf938dae0fb Mon Sep 17 00:00:00 2001 From: Nis Martensen Date: Tue, 21 Mar 2017 22:23:49 +0100 Subject: [PATCH] Stop using subprocess.getoutput() To avoid cr