Dear Support,
We are using the GDPicture v11 Ultimate.
We now have a need to read barcodes 128 and QRCode that includes Thai wording. The text input is in Unicode, and we can view it in UTF-8 format using other readers.
However when we use GDPictures to read the barcode, it turns out to be just some random numbers. We then tried to convert to the text to other unicode in hopes its jus the viewer's formatting, but it didnt help.
What could be the issue and how can we solve this?
Unable to read QRCode Text (in Unicode)
Unable to read QRCode Text (in Unicode)
- Attachments
-
- ihr_qr_code_ohne_logo.png (7.03 KiB) Viewed 12119 times
Re: Unable to read QRCode Text (in Unicode)
Hi,
I have reproduced the same behavior. The image was sent to the development team to check the problem.
In the meantime, you may use a work-around:
For your image, utf8String will hold the proper value.
Regards,
Costinel
I have reproduced the same behavior. The image was sent to the development team to check the problem.
In the meantime, you may use a work-around:
Code: Select all
for (int i = 1; i <= Globals.gdPictureImaging.BarcodeQRReaderGetBarcodeCount(); i++)
{
byte[] xbUtf8Bytes = Globals.gdPictureImaging.BarcodeQRReaderGetBarcodeValueRAW(i);
String utf8String = System.Text.Encoding.UTF8.GetString(xbUtf8Bytes);
}
Regards,
Costinel
Re: Unable to read QRCode Text (in Unicode)
Hi,
I tested the QrCode recognition on your image using our latest release and it works fine, the correct Thai info is decoded.
Please update: https://www.gdpicture.com/download-gdpicture/
Best regards,
Costinel
I tested the QrCode recognition on your image using our latest release and it works fine, the correct Thai info is decoded.
Please update: https://www.gdpicture.com/download-gdpicture/
Best regards,
Costinel
Who is online
Users browsing this forum: No registered users and 1 guest