Kanji works better if data is read to symbol :)

This commit is contained in:
Robin Stuart 2017-04-21 20:38:19 +01:00
parent a8077535b2
commit 92f02c8a67

View File

@ -271,6 +271,8 @@ void qr_binary(int datastream[], int version, int target_binlen, char mode[], in
prod = ((jis >> 8) * 0xc0) + (jis & 0xff); prod = ((jis >> 8) * 0xc0) + (jis & 0xff);
qr_bscan(binary, prod, 0x1000);
if (debug) { if (debug) {
printf("0x%4X ", prod); printf("0x%4X ", prod);
} }
@ -1766,8 +1768,6 @@ int micro_qr_intermediate(char binary[], int jisdata[], char mode[], int length,
int jis = jisdata[position + i]; int jis = jisdata[position + i];
int prod; int prod;
int jis = jisdata[position + i];
if (jis >= 0x8140 && jis <= 0x9ffc) if (jis >= 0x8140 && jis <= 0x9ffc)
jis -= 0x8140; jis -= 0x8140;