The test string is:
1234567890お客様名ABCDEabcdeアイウエオ鰺鯵
My code looks like this:
QRCode qrcode = new QRCode();
Hashtable<EncodeHintType, String> hints = new
Hashtable<EncodeHintType, String>(2);
hints.put(EncodeHintType.CHARACTER_SET, "Shift_JIS");
Encoder.encode(contents, ecLevel, hints, qrcode);
My result matches the UTF-8 qr code generated on the generator page
instead of the Shift_JIS qr code.
I've tried encoding the string to Shift_JIS before the Encoder.encode
call but that results in the same UTF-8 qr code.
About the qr codes being the same, I think they will decode the same,
but they are not the same. Visually they are different, and the UTF-8
version does not decode on Docomo iMode cell phones.
About Modes, I'm not sure if I understand the Zxing Mode very well, I
assumed that Mode.KANJI was for all Shift_JIS/sjis encoding.