mirror of
https://github.com/xcat2/confluent.git
synced 2025-01-28 03:48:35 +00:00
Jarrod Johnon
14ce9970ad
Fix unicode error on stdout piping
When confetty runs in a UTF-8 terminal, things are fine. However python assumes ascii only when piped. Catch the situation and force utf-8 encoding rather than erroring out in such a circumstance
Description
Languages
Python
80.3%
Shell
15.6%
C
3.6%
Perl
0.3%