JoyLau / joylau-springboot-daemon-windows

将SpringBoot应用制作为Windows Services服务 | make spring boot module to windows services
http://image.joylau.cn/blog/joylau-springboot-daemon-service-video.mp4
MIT License
68 stars 38 forks source link

生成的服务 运行后乱码 #5

Open william-abel opened 5 years ago

william-abel commented 5 years ago

生成的bat 运行后乱码

如果用Java -Dfile.encoding=UTF-8 -jar xx.jar 则是正常提交和获取数据 用服务的方式启动 参数和数据出现中文乱码 在pom配置了-Dfile.encoding=UTF-8 也无效 请问如何正确配置编码

JoyLau commented 5 years ago

我认为这和你的系统语言及当前环境有关,和插件没有什么关系

william-abel commented 5 years ago

请问改如何配置呢 数据库是SqlServer 系统是Windows Server2008