1)终端输出乱码
我这里是已经更改过了,所以为UTF-8,一般应该是GBK
更改的方式应该只有一种:添加环境变量
参考:
https://stackoverflow.com/questions/9976616/maven-platform-encoding
2)IDEA控制台输出乱码
1)终端输出乱码
我这里是已经更改过了,所以为UTF-8,一般应该是GBK
更改的方式应该只有一种:添加环境变量
参考:
https://stackoverflow.com/questions/9976616/maven-platform-encoding
2)IDEA控制台输出乱码