search

Home  >  Q&A  >  body text

protocol-buffer - protoc 指定生成java文件是GBK编码,如何指定成UTF8

protoc 指定生成java文件是GBK编码,如何指定成UTF8,--help也没有看到设置输出编码的

怎么做呢?

大家讲道理大家讲道理2806 days ago823

reply all(2)I'll reply

  • 巴扎黑

    巴扎黑2017-04-17 13:27:37

    If the proto file is utf-8, protoc will not be converted to gbk.

    reply
    0
  • 迷茫

    迷茫2017-04-17 13:27:37

    Same question,,,, but I finally changed the encoding using the editor

    reply
    0
  • Cancelreply