Unable to read QRCode Text (in Unicode)

Discussions about barcode reading and writing
Post Reply
johnson87
Posts: 1
Joined: Wed Jul 20, 2016 10:59 am

Unable to read QRCode Text (in Unicode)

Post by johnson87 » Wed Jul 20, 2016 11:03 am

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?
Attachments
ihr_qr_code_ohne_logo.png
ihr_qr_code_ohne_logo.png (7.03 KiB) Viewed 9475 times

Costinel
Posts: 36
Joined: Mon Jul 11, 2016 9:35 am

Re: Unable to read QRCode Text (in Unicode)

Post by Costinel » Wed Jul 20, 2016 12:11 pm

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

Costinel
Posts: 36
Joined: Mon Jul 11, 2016 9:35 am

Re: Unable to read QRCode Text (in Unicode)

Post by Costinel » Mon Jan 14, 2019 10:55 am

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

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest