Can’t convert string from native encoding to ‘UTF-8’

    Read

默认环境执行不错,但是更换到shell就异常了,原来是因为没有设置字符集。备注下。


解决方法:
脚本中增加:

转载:http://blog.csdn.net/wenwenxiong/article/details/48008685SourceByrd's Weblog-https://note.t4x.org/error/cannot-convert-string-from-native-encoding-snv/ SourceByrd's Weblog-https://note.t4x.org/error/cannot-convert-string-from-native-encoding-snv/

申明:除非注明Byrd's Blog内容均为原创,未经许可禁止转载!详情请阅读版权申明!
Byrd
  • by Published on January 5, 2019
  • 原文链接:https://note.t4x.org/error/cannot-convert-string-from-native-encoding-snv/