-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Alphanumeric qrcode generation issue #1
Comments
This breaks because the standard has length limitations for each version and encoding. Try increasing the version. |
The problem is not the length limitations of the QRCode. I tried the following configurations: (I will write UNREADABLE for each configuration that generated an ureadable QR code and OK for configurations that generated readable QR codes) OK:
UNREADABLE:
OK:
UNREADABLE:
UNREADABLE:
UNREADABLE:
UNREADABLE:
UNREADABLE:
Please note that, according to QRCode.com, a QR Code version 2 with error correction level Q should have a capacity of 29 alphanumeric characters and I tried with 26. Also, a QR code version 8 with error correction level L should be able to encode up to 279 alphanumeric characters. I tried with 260, and could not get a readable QR code even if I used version 15, which should have a capacity of 758 alphanumeric characters for error correction level L. I am attaching the QR Code obtained for the last sample, 260 characters, Version 15, Level L. |
5dabe45 fixes the issue for all of the above cases except Still trying to debug what the issue is with |
Alphanumeric code generation fails on any input above 20 characters. It will produce data for a qrcode, but the qrcode is invalid and cannot be read by scanners. This can be reproduced by increasing the length of the data being used in the Example.hs file to 21 characters.
The text was updated successfully, but these errors were encountered: