PDF417 - [The CodeText is not valid for Text Compaction Mode]

Hi,

I am trying to generate a PDF 417 code using .net library but when the text includes a apostrophe (’) , I get the following error message:

[The CodeText is not valid for Text Compaction Mode. Try use the binary compaction mode instead.]

If I change the mode to Binary compaction mode, the same error occurs.

Is there a way around this?

Thanks

@victordebie1,
This issue is reproduced here and logged in our database for further investigation and a fix. You will be notified here once any update is ready for sharing.

This issue is logged as:
BARCODENET-37659 - PDF417 barcode cannot be generated with text having apostrophe

@victordebie1,

Please try our latest version/fix: Aspose.BarCode for .NET 20.10 (Downloads section / Nuget repos.). Your issue is resolved now.