Skip to content
This repository has been archived by the owner on Sep 21, 2022. It is now read-only.

Doesn't support encoding of >26 characters #3

Closed
danprince opened this issue Nov 12, 2013 · 2 comments
Closed

Doesn't support encoding of >26 characters #3

danprince opened this issue Nov 12, 2013 · 2 comments

Comments

@danprince
Copy link

Been attempting to encode a URL of 30+ characters and when the generated QR is scanned, the data returned is empty.

http://stackoverflow.com/questions/12764334/qr-code-max-char-length

QR's should definitely be able to store more than 26 characters.

@monospaced
Copy link
Owner

QR code has different versions, that supports different amounts of data.

Please use the tables on this page to find a Version (and Error Correction Level) that suits your requirements...

http://www.qrcode.com/en/about/version.html

...then specify them in the <qrcode> attributes, e.g. to get 4,296 alphanumeric characters, use:

version="40" error-correction-level="L"

Hope that works!

@danprince
Copy link
Author

Fantastic, thanks very much!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants