ASCII or other encoding options
skjiisa opened this issue · comments
Check List
Thanks for considering to open an issue. Before you submit your issue, please confirm these boxes are checked.
- I have read the README.md, but there is no information I need.
- I have searched in existing issues, but did find a same one.
Issue Description
Description
Currently, any input string passed in to the generate QR code function is encoded as utf8
before being encoded in the QR code. Having an option to encode in ASCII
or other encoding methods could allow larger texts to be encoded into smaller QR codes. Adding an argument to specify which text encoding method to use, which could default to utf8
would be a useful feature.
It seems I was mistaken with my understanding of the difference between ascii
and utf8
encoding as ascii
wouldn't take up any less space than utf8
if you're already only using characters in the ascii
set. It could still be a useful feature to allow alternate encoding options though.