Issue with underscore in input.
Hello,
Unhandelled exception while trying to generate barcode(39) for input that contains underscore(_).
Any workaround for this issue?

Thanks
Underscore is not a valid character in Code 39. Could have been a more specific exception maybe.
If you can, use Code 128 instead.
https://en.m.wikipedia.org/wiki/Code_39
/rob
On Tue, Dec 14, 2021, 10:12 chvvrajesh @.***> wrote:
Hello,
Unhandelled exception while trying to generate barcode(39) for input that contains underscore(_).
Any workaround for this issue?
[image: image] https://user-images.githubusercontent.com/3823688/145968371-a6ee89e2-0974-4584-ac70-be3c3e7e5888.png
Thanks
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/barnhill/barcodelib/issues/138, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFQNI4OFMZ6QWB6DJGOUN53UQ4C7XANCNFSM5KAKKWEQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
just tested this with Code39 and it gives you a better message:
