Special characters in PDF417 barcode
Posted: Thu Feb 29, 2024 4:57 pm
Hi
I'm trying to add a PDF417 barcode to a stimulsoft report in a ASP.NET MVC app. Stimulsoft version is 2018.3.5.
The problem is that when the barcode data contains special characters from the Croatian language, I get the “Input data not valid for this barcode” error. My understanding is that there should be an option to change the encoding to UTF-8. I found this option for the QR barcode (StiOptions.Engine.BarcodeQRCodeDefaultByteModeEncoding = StiQRCodeECIMode.UTF_8), and it works fine with all characters, but I can’t find it for PDF417.
I attached a picture with all the designer options I’m using. The code here contains just one of the characters that causes the error.
I'm trying to add a PDF417 barcode to a stimulsoft report in a ASP.NET MVC app. Stimulsoft version is 2018.3.5.
The problem is that when the barcode data contains special characters from the Croatian language, I get the “Input data not valid for this barcode” error. My understanding is that there should be an option to change the encoding to UTF-8. I found this option for the QR barcode (StiOptions.Engine.BarcodeQRCodeDefaultByteModeEncoding = StiQRCodeECIMode.UTF_8), and it works fine with all characters, but I can’t find it for PDF417.
I attached a picture with all the designer options I’m using. The code here contains just one of the characters that causes the error.