Subject: | Bug: No Kanji mode |
Date: | Tue, 27 Dec 2011 15:25:54 +0000 |
To: | <bug-imager-qrcode [...] rt.cpan.org> |
From: | Inoue Katsuhito <k_inoue_ [...] hotmail.com> |
Dear KURIHARA
There a bug in "src/SRCode.xs". No Kanji mode Set on QRcode is used now,
at line#206-#207.
if (mode == QR_MODE_8 || mode == QR_MODE_KANJI)
qrcode = encode_8bit(text, version, level);
When japanese charactor set is Shift-JIS to generate QR code,
QR Code mode may be kanji. But,when EUC, UTF8 as other japanese
charactor is set, QR Code mode may be 8bit.