JokeKappa
JokeKappa copied to clipboard
make output use utf8
Hi when I use this package I have met some prob
after I print exception of function, "load from file" I found "UnicodeEncodeError: 'ascii' codec can't encode character"
So I thinks it should be add "sys.stdout = TextIOWrapper(sys.stdout.buffer, encoding='utf-8')" and "open(filepath, "r", encoding='utf-8')" in this code
thanks