[diffoscope] 01/01: Give better advice about what envvar to set to make the console work

Ximin Luo infinity0 at debian.org
Fri Sep 23 18:34:46 CEST 2016


This is an automated email from the git hooks/post-receive script.

infinity0 pushed a commit to branch master
in repository diffoscope.

commit 436253a494ba0d13b13e72bca38e0e1b0c0f978f
Author: Ximin Luo <infinity0 at debian.org>
Date:   Fri Sep 23 18:33:57 2016 +0200

    Give better advice about what envvar to set to make the console work
---
 diffoscope/presenters/text.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/diffoscope/presenters/text.py b/diffoscope/presenters/text.py
index 4f9398f..306fb5b 100644
--- a/diffoscope/presenters/text.py
+++ b/diffoscope/presenters/text.py
@@ -53,5 +53,5 @@ def output_text(difference, print_func):
         print_difference(difference, print_func)
         print_details(difference, print_func)
     except UnicodeEncodeError:
-        logger.critical('Console is unable to print Unicode characters. Set e.g. LC_CTYPE=en_US.UTF-8')
+        logger.critical('Console is unable to print Unicode characters. Set e.g. PYTHONIOENCODING=utf-8')
         sys.exit(2)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/diffoscope.git


More information about the diffoscope mailing list