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

length overflow for emojis? #25

Open
Zaniyar opened this issue May 31, 2022 · 0 comments · May be fixed by #27
Open

length overflow for emojis? #25

Zaniyar opened this issue May 31, 2022 · 0 comments · May be fixed by #27

Comments

@Zaniyar
Copy link

Zaniyar commented May 31, 2022

const hello = new QRCode("🖤🌹");

qrcode.js:106 Uncaught Error: code length overflow. (132>128)
at QRCodeModel.createData (qrcode.js:106:47)
at QRCodeModel.makeImpl (qrcode.js:91:26)
at QRCodeModel.getBestMaskPattern (qrcode.js:92:473)
at QRCodeModel.make (qrcode.js:89:101)

Is it possible to encode emojis inside the qrcode?

@jp-ed jp-ed linked a pull request Jun 18, 2022 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant