QRCoder icon indicating copy to clipboard operation
QRCoder copied to clipboard

Mixed Mode QR code

Open dandodadon opened this issue 1 year ago • 1 comments

Type of issue

[ ] Bug
[X] Question (e.g. about handling/usage)
[ ] Request for new feature/improvement

Expected Behavior

Hi, I just have question for how to generate a QR code. I have requirement that the generated QR code should be Version 2 and ECC Q. I know the limited data length is 29, but my data length is 30. However, my data looks like this: 1X1234567890123456789012345:XX in this case, I think i can split it to 3 different parts using different encode mode. like: 1X -- Alpha Numeric 1234567890123456789012345 -- Numeric :XX -- AlphaNumeric this should work in this case.

But I'm not sure is it possible to do this?

Current Behavior

Possible Solution (optional)

Steps to Reproduce (for bugs)

Your Environment

dandodadon avatar Nov 21 '24 17:11 dandodadon

QR code spec definitely allows for mixed-mode encoding, but there is no easy implementation available within QRCoder to do this currently.

Shane32 avatar Nov 21 '24 20:11 Shane32