QR code generator that has “alphanumeric characters” option?

点点圈 提交于 2019-12-08 05:54:02

问题


I tried to use online tools, like google/qr_codes and goQR.me, but neither have an "alphanumeric characters" option, only complete binary (UTF8 or ISO) character set. I need only a little alphanumeric (A-Z,0-9,-,/,etc.), so a string like "http://bit.ly/1234" (a string with length=18) can be expressed by a Version-1 (21 rows) QR-Code symbol.

I also try to install (Linux, PHP, Python, etc.) tools... And, to my surprise, no "alphanumeric" option! (only, indirectly, the "binary" option).

Examples:

  1. Good: https://chart.googleapis.com/chart?chs=250x250&cht=qr&chl=http://bit.ly/12&chld=L|1 Generates a symbol of "http://bit.ly/12" (a string with length=16) with a version-1 QR-Code. OK! The guide say "... can encode up to 25 alphanumeric characters", so 16<25, then espected to version-1.

    1.1 Bad: https://chart.googleapis.com/chart?chs=250x250&cht=qr&chl=http://bit.ly/12&chld=M|1 (change L to M), generates a version-2 (25 rows) symbol.

    1.2 Bad: https://chart.googleapis.com/chart?chs=250x250&cht=qr&chl=http://bit.ly/1234&chld=L|1 (change length from 16 to 18), generates a version-2 (25 rows) symbol.

  2. Trying to programm it... bad... See http://phpqrcode.sourceforge.net/ , even when I programming, I can't select a real "alphanumeric" option! No Version-1 symbol can be generated (!) with this kind of tools.


回答1:


The QR alphanumeric set does not include lowercase letters. The standard's definitive but the the wikipedia page lists the characters in the alphanumeric set.



来源:https://stackoverflow.com/questions/18691139/qr-code-generator-that-has-alphanumeric-characters-option

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!