/* 10*/{UNICODE_MODE,0,-1,-1,{0,0,""},"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",ZINT_ERROR_TOO_LONG,"Error 591: Data too long for selected error correction capacity","253 chars EC2"},
/* 12*/{UNICODE_MODE,0,1,-1,{0,0,""},"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",ZINT_ERROR_TOO_LONG,"Error 591: Data too long for selected error correction capacity","277 chars EC0"},
/* 12*/{UNICODE_MODE,0,-1,-1,-1,{0,0,""},"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",ZINT_ERROR_TOO_LONG,"Error 591: Data too long for selected error correction capacity","253 chars EC2"},
/* 14*/{UNICODE_MODE,0,1,-1,-1,{0,0,""},"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",ZINT_ERROR_TOO_LONG,"Error 591: Data too long for selected error correction capacity","277 chars EC0"},
/* 0*/{UNICODE_MODE,0,-1,ULTRA_COMPRESSION,{0,0,""},"ULTRACODE_123456789!",0,13,22,1,"AIMD/TSC15032-43 Figure G.1 **NOT SAME** different compression",
/* 0*/{UNICODE_MODE,0,-1,-1,ULTRA_COMPRESSION,{0,0,""},"ULTRACODE_123456789!",0,13,22,1,"AIMD/TSC15032-43 Figure G.1 **NOT SAME** different compression",
"7777777777777777777777"
"7857865353533131551857"
"7767853515611616136717"
@ -334,7 +339,7 @@ static void test_encode(int index, int generate, int debug) {
"7817851653331136333857"
"7777777777777777777777"
},
/* 1*/{UNICODE_MODE,0,-1,-1,{0,0,""},"ULTRACODE_123456789!",0,13,24,1,"AIMD/TSC15032-43 Figure G.1 **NOT SAME** no compression",
/* 1*/{UNICODE_MODE,0,-1,-1,-1,{0,0,""},"ULTRACODE_123456789!",0,13,24,1,"AIMD/TSC15032-43 Figure G.1 **NOT SAME** no compression",
"777777777777777777777777"
"785786533153313111181157"
"776783361661161666676617"
@ -349,7 +354,7 @@ static void test_encode(int index, int generate, int debug) {
"781786166533113663683357"
"777777777777777777777777"
},
/* 2*/{UNICODE_MODE,0,-1,ULTRA_COMPRESSION,{0,0,""},"HEIMASÍÐA KENNARAHÁSKÓLA ÍSLANDS",0,19,23,1,"AIMD/TSC15032-43 Figure G.2 **NOT SAME** different compression",
/* 2*/{UNICODE_MODE,0,-1,-1,ULTRA_COMPRESSION,{0,0,""},"HEIMASÍÐA KENNARAHÁSKÓLA ÍSLANDS",0,19,23,1,"AIMD/TSC15032-43 Figure G.2 **NOT SAME** different compression",
"77777777777777777777777"
"78878663151561555158557"
"77878315565635366667617"
@ -370,7 +375,7 @@ static void test_encode(int index, int generate, int debug) {
"78878333656153153368617"
"77777777777777777777777"
},
/* 3*/{DATA_MODE,0,-1,-1,{0,0,""},"\110\105\111\115\101\123\315\320\101\040\113\105\116\116\101\122\101\110\301\123\113\323\114\101\040\315\123\114\101\116\104\123",0,19,23,1,"AIMD/TSC15032-43 Figure G.2 **NOT SAME** no compression",
/* 3*/{DATA_MODE,0,-1,-1,-1,{0,0,""},"\110\105\111\115\101\123\315\320\101\040\113\105\116\116\101\122\101\110\301\123\113\323\114\101\040\315\123\114\101\116\104\123",0,19,23,1,"AIMD/TSC15032-43 Figure G.2 **NOT SAME** no compression",
"77777777777777777777777"
"78878633151153313358137"
"77878315666661161167617"
@ -391,7 +396,7 @@ static void test_encode(int index, int generate, int debug) {
"78878361115516163138317"
"77777777777777777777777"
},
/* 4*/{UNICODE_MODE,10,-1,ULTRA_COMPRESSION,{0,0,""},"אולטרה-קוד1234",0,13,19,1,"AIMD/TSC15032-43 Figure G.3 Same except DCC correct whereas DCC in Figure G.3 is incorrent",
/* 4*/{UNICODE_MODE,10,-1,-1,ULTRA_COMPRESSION,{0,0,""},"אולטרה-קוד1234",0,13,19,1,"AIMD/TSC15032-43 Figure G.3 Same except DCC correct whereas DCC in Figure G.3 is incorrent",
"7777777777777777777"
"7857865565566616657"
"7737853333613351517"
@ -406,7 +411,7 @@ static void test_encode(int index, int generate, int debug) {
"7817851316355311357"
"7777777777777777777"
},
/* 5*/{DATA_MODE,0,-1,-1,{0,0,""},"\340\345\354\350\370\344\055\367\345\343\061\062\063\064",0,13,20,1,"AIMD/TSC15032-43 Figure G.3 **NOT SAME** no compression",
/* 5*/{DATA_MODE,0,-1,-1,-1,{0,0,""},"\340\345\354\350\370\344\055\367\345\343\061\062\063\064",0,13,20,1,"AIMD/TSC15032-43 Figure G.3 **NOT SAME** no compression",
"77777777777777777777"
"78578611115666161157"
"77678333656133516617"
@ -421,7 +426,7 @@ static void test_encode(int index, int generate, int debug) {
"78178613653553116357"
"77777777777777777777"
},
/* 6*/{UNICODE_MODE,0,-1,ULTRA_COMPRESSION,{0,0,""},"https://aimglobal.org/jcrv3tX",0,13,20,1,"AIMD/TSC15032-43 Figure G.4a **NOT SAME** different compression; also DCC incorrect in figure",
/* 6*/{UNICODE_MODE,0,-1,-1,ULTRA_COMPRESSION,{0,0,""},"https://aimglobal.org/jcrv3tX",0,13,20,1,"AIMD/TSC15032-43 Figure G.4a **NOT SAME** different compression; also DCC incorrect in figure",
"77777777777777777777"
"78578655115631563137"
"77678563356513315617"
@ -436,7 +441,7 @@ static void test_encode(int index, int generate, int debug) {
"78178163363613633157"
"77777777777777777777"
},
/* 7*/{GS1_MODE,0,-1,-1,{0,0,""},"[01]03453120000011[17]121125[10]ABCD1234",0,13,23,1,"AIMD/TSC15032-43 Figure G.6 **NOT SAME** different compression and ECC; also DCC incorrect in figure",
/* 7*/{GS1_MODE,0,-1,-1,-1,{0,0,""},"[01]03453120000011[17]121125[10]ABCD1234",0,13,23,1,"AIMD/TSC15032-43 Figure G.6 **NOT SAME** different compression and ECC; also DCC incorrect in figure",
"77777777777777777777777"
"78578616535355353318157"
"77678553116631616667617"
@ -451,7 +456,7 @@ static void test_encode(int index, int generate, int debug) {
@ -466,7 +471,7 @@ static void test_encode(int index, int generate, int debug) {
"7817833536357"
"7777777777777"
},
/* 9*/{UNICODE_MODE,0,2,-1,{0,0,""},"1234567890123456789012",0,13,24,1,"Length 22 == 25 MCC (C) with EC1 so 6 ECC by Table 12",
/* 9*/{UNICODE_MODE,0,2,-1,-1,{0,0,""},"1234567890123456789012",0,13,24,1,"Length 22 == 25 MCC (C) with EC1 so 6 ECC by Table 12",
"777777777777777777777777"
"785786663111111111181117"
"776783555536666666676667"
@ -481,7 +486,7 @@ static void test_encode(int index, int generate, int debug) {
"781786155535516355186337"
"777777777777777777777777"
},
/* 10*/{UNICODE_MODE,0,2,-1,{0,0,""},"12345678901234567890123",0,13,25,1,"Length 23 == 26 MCC (C) with EC1 so 7 ECC by Table 12",
/* 10*/{UNICODE_MODE,0,2,-1,-1,{0,0,""},"12345678901234567890123",0,13,25,1,"Length 23 == 26 MCC (C) with EC1 so 7 ECC by Table 12",
"7777777777777777777777777"
"7857863655511111111811117"
"7767831563666666666766667"
@ -496,7 +501,7 @@ static void test_encode(int index, int generate, int debug) {
"7817835653363636636836657"
"7777777777777777777777777"
},
/* 11*/{UNICODE_MODE,0,1,-1,{0,0,""},"1",0,13,11,1,"Figure 3a min 2-row, EC0",
/* 11*/{UNICODE_MODE,0,1,-1,-1,{0,0,""},"1",0,13,11,1,"Figure 3a min 2-row, EC0",
"77777777777"
"78578661517"
"77178355667"
@ -511,7 +516,7 @@ static void test_encode(int index, int generate, int debug) {
"78178365567"
"77777777777"
},
/* 12*/{UNICODE_MODE,0,6,-1,{0,0,""},"1234567890123456789012",0,13,28,0,"Figure 3a max 2-row, EC5 **NOT SAME** extra col due to BWIPP update 2021-07-14; BWIPP chooses 3 rows instead",
/* 12*/{UNICODE_MODE,0,6,-1,-1,{0,0,""},"1234567890123456789012",0,13,28,0,"Figure 3a max 2-row, EC5 **NOT SAME** extra col due to BWIPP update 2021-07-14; BWIPP chooses 3 rows instead",
"7777777777777777777777777777"
"7857863331131511111811111157"
"7717835613316666666766666617"
@ -526,7 +531,7 @@ static void test_encode(int index, int generate, int debug) {
"7817863633563563636863636637"
"7777777777777777777777777777"
},
/* 13*/{UNICODE_MODE,0,1,-1,{0,0,""},"12345678901234567890123456789012345",0,19,22,1,"Figure 3b min 3-row, EC0 **NOT SAME** Zint min not same as real min as chooses lower rows first (would need row option)",
/* 13*/{UNICODE_MODE,0,1,-1,-1,{0,0,""},"12345678901234567890123456789012345",0,19,22,1,"Figure 3b min 3-row, EC0 **NOT SAME** Zint min not same as real min as chooses lower rows first (would need row option)",
"7777777777777777777777"
"7887866511111111111817"
"7787833666666666666767"
@ -547,7 +552,7 @@ static void test_encode(int index, int generate, int debug) {
"7887831331656665333867"
"7777777777777777777777"
},
/* 14*/{UNICODE_MODE,0,6,-1,{0,0,""},"1234567890123456789012345678901234567890123456789012345",0,19,38,0,"Figure 3b max 3-row, EC5 **NOT SAME** extra col due to BWIPP update 2021-07-14; BWIPP chooses 4 rows instead",
/* 14*/{UNICODE_MODE,0,6,-1,-1,{0,0,""},"1234567890123456789012345678901234567890123456789012345",0,19,38,0,"Figure 3b max 3-row, EC5 **NOT SAME** extra col due to BWIPP update 2021-07-14; BWIPP chooses 4 rows instead",
"77777777777777777777777777777777777777"
"78878611311563611118111111111111111817"
"77878366156351555667666666666666666767"
@ -568,7 +573,7 @@ static void test_encode(int index, int generate, int debug) {
"78878166553313356538331656665333165837"
"77777777777777777777777777777777777777"
},
/* 15*/{UNICODE_MODE,0,1,-1,{0,0,""},"1234567890123456789012345678901234567890123456789012345678901234567890123456789012",0,25,30,1,"Figure 3c min 4-row, EC0 **NOT SAME** Zint min not same as real min as chooses lower rows first (would need row option)",
/* 15*/{UNICODE_MODE,0,1,-1,-1,{0,0,""},"1234567890123456789012345678901234567890123456789012345678901234567890123456789012",0,25,30,1,"Figure 3c min 4-row, EC0 **NOT SAME** Zint min not same as real min as chooses lower rows first (would need row option)",
"777777777777777777777777777777"
"788786511111111111181111111117"
"778783166666666666676666666667"
@ -595,7 +600,7 @@ static void test_encode(int index, int generate, int debug) {
"788785533666336663386663366667"
"777777777777777777777777777777"
},
/* 16*/{UNICODE_MODE,0,6,-1,{0,0,""},"12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456",0,25,50,0,"Figure 3c max 4-row **NOT SAME** extra col due to BWIPP update 2021-07-14; BWIPP chooses 5 rows instead",
/* 16*/{UNICODE_MODE,0,6,-1,-1,{0,0,""},"12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456",0,25,50,0,"Figure 3c max 4-row **NOT SAME** extra col due to BWIPP update 2021-07-14; BWIPP chooses 5 rows instead",
/* 17*/{UNICODE_MODE,0,1,-1,{0,0,""},"123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789",0,31,42,1,"Figure 3d min 5-row, EC0 **NOT SAME** Zint min not same as real min as chooses lower rows first (would need row option)",
/* 17*/{UNICODE_MODE,0,1,-1,-1,{0,0,""},"123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789",0,31,42,1,"Figure 3d min 5-row, EC0 **NOT SAME** Zint min not same as real min as chooses lower rows first (would need row option)",
"777777777777777777777777777777777777777777"
"788786511111111111181111111111111118111117"
"778783366666666666676666666666666667666667"
@ -655,7 +660,7 @@ static void test_encode(int index, int generate, int debug) {
"788783616161616161681616161616161618616167"
"777777777777777777777777777777777777777777"
},
/* 18*/{UNICODE_MODE,0,6,-1,{0,0,""},"1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012",0,31,66,1,"Figure 3d max 5-row, EC5 **NOT SAME** Max columns due to 282 limit is 60 not 61 as shown",
/* 18*/{UNICODE_MODE,0,6,-1,-1,{0,0,""},"1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012",0,31,66,1,"Figure 3d max 5-row, EC5 **NOT SAME** Max columns due to 282 limit is 60 not 61 as shown",
/* 19*/{UNICODE_MODE|ESCAPE_MODE,0,-1,-1,{0,0,""},"[)>\\R06\\G17V12345\\G1P234TYU\\GS6789\\R\\E",0,13,27,0,"06 Macro; not supported by BWIPP",
/* 19*/{UNICODE_MODE|ESCAPE_MODE,0,-1,-1,-1,{0,0,""},"[)>\\R06\\G17V12345\\G1P234TYU\\GS6789\\R\\E",0,13,27,0,"06 Macro; not supported by BWIPP",
"777777777777777777777777777"
"785786311655611111181311157"
"771783153516566666676156617"
@ -703,7 +708,7 @@ static void test_encode(int index, int generate, int debug) {
"781783531133356335585331617"
"777777777777777777777777777"
},
/* 20*/{UNICODE_MODE|ESCAPE_MODE,0,-1,ULTRA_COMPRESSION,{0,0,""},"[)>\\R06\\G17V12345\\G1P234TYU\\GS6789\\R\\E",0,13,23,0,"06 Macro; not supported by BWIPP",
/* 20*/{UNICODE_MODE|ESCAPE_MODE,0,-1,-1,ULTRA_COMPRESSION,{0,0,""},"[)>\\R06\\G17V12345\\G1P234TYU\\GS6789\\R\\E",0,13,23,0,"06 Macro; not supported by BWIPP",
"77777777777777777777777"
"78578613335635131318557"
"77678536566511516157617"
@ -718,7 +723,7 @@ static void test_encode(int index, int generate, int debug) {
"78178116153635315338657"
"77777777777777777777777"
},
/* 21*/{UNICODE_MODE,0,-1,-1,{1,2,""},"A",0,13,14,1,"Structured Append without File Number",
/* 21*/{UNICODE_MODE,0,-1,-1,-1,{1,2,""},"A",0,13,14,1,"Structured Append without File Number",
"77777777777777"
"78578633165557"
"77378351336117"
@ -733,7 +738,7 @@ static void test_encode(int index, int generate, int debug) {
"78178535111557"
"77777777777777"
},
/* 22*/{UNICODE_MODE,0,-1,-1,{8,8,"283"},"A",0,13,15,1,"Structured Append with File Number",
/* 22*/{UNICODE_MODE,0,-1,-1,-1,{8,8,"283"},"A",0,13,15,1,"Structured Append with File Number",
"777777777777777"
"785786353356157"
"773783115665317"
@ -748,6 +753,21 @@ static void test_encode(int index, int generate, int debug) {
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.