Tweaked comment for kanji demo so that it corresponds to the order in the sample text string.

pull/134/head
Project Nayuki 7 years ago
parent b204202684
commit 9071594f6c

@ -132,7 +132,7 @@ public final class QrCodeGeneratorDemo {
qr = QrCode.encodeSegments(segs, QrCode.Ecc.LOW); qr = QrCode.encodeSegments(segs, QrCode.Ecc.LOW);
writePng(qr.toImage(8, 5), "phi-segmented-QR.png"); writePng(qr.toImage(8, 5), "phi-segmented-QR.png");
// Illustration "Madoka": kanji, kana, Greek, Cyrillic, full-width Latin characters // Illustration "Madoka": kanji, kana, Cyrillic, full-width Latin, Greek characters
String madoka = "「魔法少女まどか☆マギカ」って、 ИАИ desu κα?"; String madoka = "「魔法少女まどか☆マギカ」って、 ИАИ desu κα?";
qr = QrCode.encodeText(madoka, QrCode.Ecc.LOW); qr = QrCode.encodeText(madoka, QrCode.Ecc.LOW);
writePng(qr.toImage(9, 4), "madoka-utf8-QR.png"); writePng(qr.toImage(9, 4), "madoka-utf8-QR.png");

Loading…
Cancel
Save