https://zhuanlan.zhihu.com/p/228805569
解决方法 STM32CubeMX/IDE都是基于Eclipse 所以可以在电脑系统里添加环境变量来解决: JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF-8