X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=core%2Fsrc%2Fcom%2Fgoogle%2Fzxing%2Fdatamatrix%2Fdecoder%2FDecodedBitStreamParser.java;h=b5996cce563987399ed35317a542d0f2ed472309;hb=a6f2683ccc234dd3a70b2758f31e86d3fa810279;hp=2f7c1f4147f455181a745ab8ec19213cddb64359;hpb=f5f458fc312e35c7e18280fd06d0b7e809749908;p=zxing.git diff --git a/core/src/com/google/zxing/datamatrix/decoder/DecodedBitStreamParser.java b/core/src/com/google/zxing/datamatrix/decoder/DecodedBitStreamParser.java index 2f7c1f41..b5996cce 100644 --- a/core/src/com/google/zxing/datamatrix/decoder/DecodedBitStreamParser.java +++ b/core/src/com/google/zxing/datamatrix/decoder/DecodedBitStreamParser.java @@ -141,11 +141,14 @@ final class DecodedBitStreamParser { } else if (oneByte == 231) { // Latch to Base 256 encodation return BASE256_ENCODE; } else if (oneByte == 232) { // FNC1 - throw ReaderException.getInstance(); + //throw ReaderException.getInstance(); + // Ignore this symbol for now } else if (oneByte == 233) { // Structured Append - throw ReaderException.getInstance(); + //throw ReaderException.getInstance(); + // Ignore this symbol for now } else if (oneByte == 234) { // Reader Programming - throw ReaderException.getInstance(); + //throw ReaderException.getInstance(); + // Ignore this symbol for now } else if (oneByte == 235) { // Upper Shift (shift to Extended ASCII) upperShift = true; } else if (oneByte == 236) { // 05 Macro @@ -162,7 +165,8 @@ final class DecodedBitStreamParser { return EDIFACT_ENCODE; } else if (oneByte == 241) { // ECI Character // TODO(bbrown): I think we need to support ECI - throw ReaderException.getInstance(); + //throw ReaderException.getInstance(); + // Ignore this symbol for now } else if (oneByte >= 242) { // Not to be used in ASCII encodation throw ReaderException.getInstance(); }