提交 ae5f4ef3 编写于 作者: 如梦技术's avatar 如梦技术 🐛

🐛 mica-qrcode 修复 toImage 字符集问题。

上级 730f31c8
......@@ -403,7 +403,7 @@ public final class QrCode {
* @return QRCode 的图像对象
*/
public BufferedImage toImage() {
String text = new String(content.getBytes(this.encode));
String text = new String(content.getBytes(this.encode), this.encode);
BitMatrix matrix;
try {
matrix = new QRCodeWriter().encode(text,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册