Page 1 of 1

Get some strange character from OCR ']Q2\000026'

Posted: Wed Apr 11, 2018 7:49 am
by Rnan

I have read QR code by GDPicture 12 and get some strange character
at front of TEXT .

This is examble (file in attatch)

Barcode Type: 2D - qr
Barcode Confidence: 100
Barcode Version: 2
Barcode Value: ]Q2\000026SEP00SR-H00008246102-1_1

I have try with another application (app cell phone) the result is
Barcode Value: SEP00SR-H00008246102-1_1

I wonder why the GDPicture library get ']Q2\000026' from this QRCode?

Thank you for your support

Re: Get some strange character from OCR ']Q2\000026'

Posted: Fri Jan 11, 2019 9:55 am
by Costinel

The "]Q2" header at the beginning of the decoded information signals that the barcode's bytes are encoded using different encodings. The encodings are identified by a six-digit number representing the ECI (Extended Channel Interpretation) in effect. More "\nnnnnn" ECIs sequences could be present in the decoded information.

In your case the 26 ECI is used to signal that the information is stored using UTF-8 encoding. Partial correspondence between ECI values and their corresponding character encoding could be found, for example, here: ... 10004.html

Best regards,
Costinel Mitrea