When generating a PDF417 barcode, the ‘~’ characters are not encoded. For example, I use:
Thank you for contacting Aspose support. We managed to replicate the problem of ‘~’ symbol not being read properly in PDF417 barcode. We’ve logged an investigation under ticket id BARCODENET-34234 in our issue tracking system. Your post has also been linked to this issue. We’ll keep you informed regarding any available updates. We’re sorry for the inconvenience caused.
I found that if I set if Pdf417CompactionMode to binary that the tilde will remain in the barcode, that seems to work for now.