This commit is contained in:
Looly
2019-10-20 22:18:57 +08:00
parent 7db9955f00
commit ba23a1f192
3 changed files with 5 additions and 2 deletions

View File

@@ -278,7 +278,7 @@ public class QrConfig {
// 配置
final HashMap<EncodeHintType, Object> hints = new HashMap<>();
if (null != this.charset) {
hints.put(EncodeHintType.CHARACTER_SET, charset.toString());
hints.put(EncodeHintType.CHARACTER_SET, charset.toString().toLowerCase());
}
if (null != this.errorCorrection) {
hints.put(EncodeHintType.ERROR_CORRECTION, this.errorCorrection);