#53 Incorrect encoding sequence using C40 schema

version 0.8.0
closed-fixed
Mike Laughton
encoding (12)
7
2011-03-07
2011-02-19
Mike Laughton
No

libdmtx generates incorrect codeword sequence when encoding "BLP10CJ590" using C40 encodation scheme (Windows and Fedora Linux, libdmtx 0.7.2 and 0.7.3.1)

To reproduce:
$ echo -n BLP10CJ590 | dmtxwrite -ec | dmtxread -n
BLP10CJ8F

Initial investigation suggests that problem occurs during implicit unlatch from C40 followed by single ASCII digit.

Discussion

  • Mike Laughton
    Mike Laughton
    2011-03-07

    • milestone: 1110730 --> version 0.8.0
    • status: open --> closed-fixed
     
  • Mike Laughton
    Mike Laughton
    2011-03-07

    A rewrite of the encoding module fixed this issue and similar issues in other encoding schemes. Problem was confirmed to be an issue with the end-of-symbol processing.

    Encoding optimize still needs to be rewritten, but single scheme encodings have no known bugs.