Commit 436253a4 authored by Ximin Luo's avatar Ximin Luo

Give better advice about what envvar to set to make the console work

parent 7adb6b7d
......@@ -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)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment