longcw / youdao

基于python 的命令行下查词工具,使用有道api
https://pypi.python.org/pypi/youdao
193 stars 47 forks source link

Resolve issue #9 #13

Closed yuzibo closed 6 years ago

yuzibo commented 6 years ago

If we want to support ">>" command,the error "UnicodeEncodeError: ‘ascii’ codec can’t encode异常错误". The commit may resolve it.

yuzibo commented 6 years ago

Thanks. 经过一些测试发现,重定向到文件中的内容也有部分ASCII,但是cat 新文件就正常。 这不是一个好的修改,我会考虑如何更加优化.