Ported r2803 from ZXing
Ported r2803 from ZXing

Original commit message: "Detect invalid input to Code 39 encoder and
reject it more explicitly"

Stocard/ZXingObjC,xuxubin/ZXingObjC,zeffon/ZXingObjC,YotrolZ/ZXingObjC,fuzhiqiang1989/ZXingObjC,trsathya/ZXingObjC,zilaiyedaren/ZXingObjC,jianwoo/ZXingObjC,Kalvar/ZXingObjC,davidjackman/ZXingObjC,fanwenkai/ZXingObjC,xuxubin/ZXingObjC,Kevin775263419/ZXingObjC,zilaiyedaren/ZXingObjC,wuxsoft/ZXingObjC,rowliny/ZXingObjC,benjohnde/ZXingObjC,peacemoon/ZXingObjC,adan016/ZXingObjC,JeremyPacker/ZXingObjC,adan016/ZXingObjC,ufs-slizhik/ZXingObjC,peacemoon/ZXingObjC,sdhzwm/ZXingObjC,RockyAo/ZXingObjC,RockyAo/ZXingObjC,cortices/ZXingObjC,trsathya/ZXingObjC,rowliny/ZXingObjC,YotrolZ/ZXingObjC,sdhzwm/ZXingObjC,jianwoo/ZXingObjC,rkpant/ZXingObjC,benjohnde/ZXingObjC,elegion/ios-pods-ZXingObjC,Stocard/ZXingObjC,wuxsoft/ZXingObjC,TheLevelUp/ZXingObjC,JeremyPacker/ZXingObjC,elegion/ios-pods-ZXingObjC,TheLevelUp/ZXingObjC,fanwenkai/ZXingObjC,jebai0521/ZXingObjC,Kevin775263419/ZXingObjC,ufs-slizhik/ZXingObjC,cortices/ZXingObjC,fuzhiqiang1989/ZXingObjC,tejesh-alimilli/ZXingObjC,rkpant/ZXingObjC,zeffon/ZXingObjC,Kalvar/ZXingObjC,tejesh-alimilli/ZXingObjC,jebai0521/ZXingObjC,davidjackman/ZXingObjC