FNC1 in Ascii-blocks.
Status: Beta
Brought to you by:
michivo
All FNC1-indicators in Ascii-blocks are ignored. According to the ECC200 standard, they should be decoded as <GS> (ASCII code 31).
Just add this case below the if-blocks in DmtxMessage.DecodeAscii():
else if (codeword == DmtxConstants.DmtxCharFNC1)
{
PushOutputWord(0x1d); // FNC1 gets decoded as GS
}
It is DecodeSchemeAscii() not DecodeAscii() right?
This should only be done when decoding a GS1 Datamatrix (when it starts with FNC1). Then the first FNC1 should not be passed on to the application. I guess you will also have to modify GetEncodationScheme and write a special DecodeSchemeAsciiGS1().