0
你好,我有生成条形码的这个简单的例子,并对其进行解码再次使用Spire.Barcode库与条形码阅读器C#.NET解码非英语文本
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;
的例子可以非常好地英语,但当我使用阿拉伯语时,输出显示为这样。
反正是有解决这一问题?
在此先感谢。
这取决于你'BarcodeScanner'。 – AgentFire 2014-09-21 13:56:02