The encoding format is automatically modified(编码格式被修改)

Discussion in 'BungeeCord Help' started by AnsonMao, Jun 6, 2017.

  1. Hello everyone! I ran into a problem and changed the file name to utf8 after changing the server name to chinese. After running BC, everything is normal. However, the original configuration file format automatically changed to GB2312, and if BC is properly shut down and restarted, it is reported wrong. Be sure to manually modify the configuration file to utf8~
    Who can help me? Thank you!!!
    (Translation comes from machines)

    大家好!我碰到一个问题,把服务器名修改成中文后,把文件格式保存为utf8。运行bc后,一切正常。但是原本的配置文件格式自动变成了gb2312了,如果bc正常关闭,重启,就报错了。一定要手动把配置文件修改会utf8~
    谁能帮帮我?谢谢了!!!
     

    Attached Files:

  2. Change your servers startup script to include the utf8 system property flag.

    Code (Text):
    java -Xmx4G -Dfile.encoding=UTF8 -jar spigot.jar
     
    • Like Like x 3