我在我的项目中使用spring-boot,并运行这个由spring-boot构建的jar文件作为Centos上的服务.当我运行此服务时:
服务myApp启动
我总是收到以下错误消息:
2016-08-26 09:11:02.002 ERROR 31900 --- [ main] o.s.b.c.FileEncodingApplicationListener : System property 'file.encoding' is currently 'ANSI_X3.4-1968'. It should be 'UTF-8' (as defined in 'spring.mandatoryFileEncoding').
2016-08-26 09:11:02.018 ERROR 31900 --- [ main] o.s.b.c.FileEncodingApplicationListener : Environment variable LANG is 'null'. You could use a locale setting that matches encoding='UTF-8'.
2016-08-26 09:11:02.018 ERROR 31900 --- [ main] o.s.b.c.FileEncodingApplicationListener : Environment variable LC_ALL is 'null'. You could use a locale setting that matches encoding='UTF-8'.
2016-08-26 09:11:02.031 ERROR 31900 --- [ main] o.s.boot.SpringApplication …Run Code Online (Sandbox Code Playgroud) Zxing Project是一个着名的开源,多格式1D/2D条码图像处理库,用Java实现,具有其他语言的端口.但我相信有人像我一样有同样的问题:我无法在Qrcode中编码UTF-8字符.
如何使用Zxing项目在QR码中使用UTF-8编码字符?