mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-27 13:34:19 -04:00
Improved Kanji support - Now converts from Unicode to Shift JIS
This commit is contained in:
parent
2262c365c4
commit
de4f39782f
7 changed files with 6977 additions and 5 deletions
|
@ -67,7 +67,7 @@ int qr_code(struct zint_symbol *symbol, unsigned char source[])
|
|||
int i, j;
|
||||
int kanji;
|
||||
|
||||
if(symbol->input_mode == KANJI_MODE) { kanji = 1; } else { kanji = 0; }
|
||||
if((symbol->input_mode == KANJI_MODE) || (symbol->input_mode == SJIS_MODE)) { kanji = 1; } else { kanji = 0; }
|
||||
|
||||
code = encode(symbol->option_1, symbol->option_2, source, kanji);
|
||||
if(code == NULL) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue