qrencode_raw(to_encode, version = 0L, level = 0L, hint = 2L, caseinsensitive = 1L)
0
, the library chooses the
minimum version for the given input data.0
- 3
, lowest to highest)3
", the library assumes that the
given string contains Shift-JIS characters and encodes them in
Kanji-mode. If "2
" is given, all of non-alphanumerical
characters will be encoded as is. If you want to embed UTF-8
string, choose this. Other mode will cause EINVAL error.
"0
" is "numeric mode", "1
" is "alphanumeric mode",
"5
" is "ECI mode".1
) or not(0
).