Closed yuzibo closed 6 years ago
If we want to support ">>" command,the error "UnicodeEncodeError: ‘ascii’ codec can’t encode异常错误". The commit may resolve it.
Thanks. 经过一些测试发现,重定向到文件中的内容也有部分ASCII,但是cat 新文件就正常。 这不是一个好的修改,我会考虑如何更加优化.
If we want to support ">>" command,the error "UnicodeEncodeError: ‘ascii’ codec can’t encode异常错误". The commit may resolve it.