UTF-8 Chinese garbled

76 views
Skip to first unread message

孙家耀

unread,
Jun 11, 2023, 9:00:36 PM6/11/23
to zxing
Hi everyone!

  • I want to generate a QR code that displays Chinese after scanning the code.


Used version
javase-3.5.0.jar
core-3.5.0.jar

When I set QR_COMPACT to true, Chinese will be displayed in garbled form. When I set QR_compact to False, Chinese will be displayed normally.
hints.put(EncodeHintType.QR_COMPACT, true);


I want to know how to set QR_COMPACT to true, and Chinese will be displayed normally?
Reply all
Reply to author
Forward
0 new messages