kazuhikoarase / qrcode-generator

QR Code Generator implementation in JavaScript, Java and more.
https://kazuhikoarase.github.io/qrcode-generator/js/demo/
MIT License
2.1k stars 677 forks source link

Type number auto detection #40

Closed snshn closed 7 years ago

snshn commented 7 years ago

I remember that this library used to support type number setting equal to -1 for automatically finding the optimal (1~40) version number and avoiding the problem when there's more text supplied for the QR Code than that type could hold. Is there a way to implement the same kind of logic outside of the library, including the support for UTF-8?