Allow explicit ECI 3

Setting ECI to 3 now causes Zint to include ECI 3 in symbol, and allows entry of data formatted in ISO 8859_1
Fixes #127 requested by Harald Oehlmann
This commit is contained in:
Robin Stuart 2019-10-06 17:39:54 +01:00
parent ff2ceea361
commit 15ae99ee11
9 changed files with 1362 additions and 1362 deletions

View file

@ -486,7 +486,7 @@ int dotcode_encode_message(struct zint_symbol *symbol, const unsigned char sourc
}
}
if (symbol->eci > 3) {
if (symbol->eci > 0) {
codeword_array[array_length] = 108; // FNC2
array_length++;
if (symbol->eci <= 39) {