#22 '.' and '-' encoded incorrectly in extended code39 charset

open
nobody
None
5
2008-09-05
2008-09-05
Peter Runge
No

Period and dash are encoded incorrectly in code39 when using extended character set.

According to wikipedia (http://en.wikipedia.org/wiki/Code_39), code 39 should not escape '.' and '-' characters in the extended character set since they require no translation. According to the translation code in Code39LogicImpl.java escapeExtended() method these are escaped using slashes when they shouldn't be.

Testing with our barcode scanner produced incorrect results when attempting to decode barcodes generated with '.' characters in them and using the extended code39 charset.

Discussion

  • Peter Runge

    Peter Runge - 2008-09-05

    Logged In: YES
    user_id=416534
    Originator: YES

    Patch for org.krysalis.barcode4j.impl.code39.Code39LogicImpl to not escape '.' and '-'.
    File Added: Code39LogicImpl.patch

     
  • Peter Runge

    Peter Runge - 2008-09-05

    Patch for Code39LogicImpl.java

     

Log in to post a comment.