hello I have this simple example of generating a bar code and decoding it again using Spire.Barcode library
BarcodeSettings bcsettings = new BarcodeSettings();
bcsettings.Data = "مرحباً";
bcsettings.Type = BarCodeType.DataMatrix;
BarCodeGenerator bcgen = new BarCodeGenerator(bcsettings);
System.Drawing.Image bcimg = bcgen.GenerateImage();
System.Drawing.Bitmap bcbitmap = new System.Drawing.Bitmap(bcimg);
String bcdata = BarcodeScanner.ScanOne(bcbitmap);
output.Text += bcdata;
the example works very well with English but the output shows like this when I use Arabic.
Is there anyway to fix this?
Thanks in advance.
you can use below code to your project: