Skip to content
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

Error "code length overflow" ""solved""? #52

Open
dmborque314 opened this issue Feb 4, 2015 · 7 comments
Open

Error "code length overflow" ""solved""? #52

dmborque314 opened this issue Feb 4, 2015 · 7 comments

Comments

@dmborque314
Copy link

Hi,
after successfully implementing this library into my project, sometimes I got this error.
I finally realized it always happened when the encoded string contained non-US ASCII characters (p.e. á, ñ, í....)

Surprisingly this error occurred only with the minified version of the library.

Replacing the minified version for the full version solves this issue!

@mthoretton
Copy link

Thanks for your issue, you saved my time !! After a closer look this behavior has a logical explanation :
Last edit

  • qrcode.js : 9 months ago
  • qrcode.min.js : 2 years ago

@qiangzi7723
Copy link

Get the same problem today.Thanks for your solution.

@zhaokgithub
Copy link

Thanks for your issue,your issue help me solve the same problem.

@Jean1024
Copy link

Jean1024 commented Jun 28, 2018

https://github.com/davidshimjs/qrcodejs/edit/master/qrcode.js
get qrcode.js replace the old

@miguelpiza93
Copy link

Hi,
after successfully implementing this library into my project, sometimes I got this error.
I finally realized it always happened when the encoded string contained non-US ASCII characters (p.e. á, ñ, í....)

Surprisingly this error occurred only with the minified version of the library.

Replacing the minified version for the full version solves this issue!

This worked for me!
Thanks

@pvyhnal-generalbytes
Copy link

Another workaround may be to decrease correctLevel, e.g.: correctLevel: QRCode.CorrectLevel.L

@herbertRV
Copy link

Another workaround may be to decrease correctLevel, e.g.: correctLevel: QRCode.CorrectLevel.L

This worked very good for me, thanks!

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

No branches or pull requests

8 participants