2017/05/05 14:28:17 protoc-gen-go: error:bad Go source code was generated: 32:4: illegal UTF-8 encoding (and 3383 more errors)

解决:

vim filename

:set fileencoding //查看文件编码格式

如果不是utf-8,改为utf-8

:set fenc=utf-8

文章来源于互联网,如有雷同请联系站长删除:protoc-gen-go utf-8报错

发表评论