Page 1 of 1

Unable to read QRCode Text (in Unicode)

Posted: Wed Jul 20, 2016 11:03 am
by johnson87
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?

Re: Unable to read QRCode Text (in Unicode)

Posted: Wed Jul 20, 2016 12:11 pm
by Costinel
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:

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);
}
For your image, utf8String will hold the proper value.

Regards,
Costinel

Re: Unable to read QRCode Text (in Unicode)

Posted: Mon Jan 14, 2019 10:55 am
by Costinel
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