QR Code problem

Stimulsoft Reports.JS discussion
Post Reply
peda
Posts: 41
Joined: Fri Feb 12, 2016 9:24 am

QR Code problem

Post by peda »

when i generate a QR Code from a String
on IOS Apple it work with no Problem on Android the first character is wrong. First Character shows as "?"

The QR Code should be a JIS X 0510/2004 Code

I think it is an encoding problem but where can i change it ?

Thanks Peter
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: QR Code problem

Post by HighAley »

Hello,

Could you send us a sample that will let us reproduce the issue?

Thank you.
peda
Posts: 41
Joined: Fri Feb 12, 2016 9:24 am

Re: QR Code problem

Post by peda »

This is a gneradet QR Code from Stimulsoft

In String is this text:

_R1-AT1_cbs1_88_2020-03-03T15:01:41_0,00_0,00_0,00_0,00_0,00_55u0vfYw8OifzCtQ7O2Q6g==_7DB5848F_j/cSPaX71Fk=_qP+nuXa1W6B6JaRi/vtI0jXw3SCGvdXIXzFPkD+z4Ub3ALFGgEQFOLJpfX7rp3YV3KXfW/HDiF3qA+d2bS7k8Q==

and when you read with this QR Code i get this string.
There is a wrong character on the begin of the string
In HEX values this non printable character is "ef bb bf" on the first of the string.
I think this is the Byte Order Mark in the begin of QR Code. But most of QR Scanner will not work with this

_R1-AT1_cbs1_88_2020-03-03T15:01:41_0,00_0,00_0,00_0,00_0,00_55u0vfYw8OifzCtQ7O2Q6g==_7DB5848F_j/cSPaX71Fk=_qP+nuXa1W6B6JaRi/vtI0jXw3SCGvdXIXzFPkD+z4Ub3ALFGgEQFOLJpfX7rp3YV3KXfW/HDiF3qA+d2bS7k8Q==

Image
Lech Kulikowski
Posts: 7291
Joined: Tue Mar 20, 2018 5:34 am

Re: QR Code problem

Post by Lech Kulikowski »

Hello,

We need some additional time to investigate the issue, we will let you know about the result.

Thank you.
peda
Posts: 41
Joined: Fri Feb 12, 2016 9:24 am

Re: QR Code problem

Post by peda »

Hello Lech
Are any Infos how to remove BOM on QR Code ?

Thanks Peter
Andrew
Posts: 4108
Joined: Fri Jun 09, 2006 3:58 am

Re: QR Code problem

Post by Andrew »

Hello,

Our tests show that most of the mobile scanner applications recognize BOM correctly. But several users informed us that their systems do not work with BOM, but could not provide information on what kind of systems they have.

So, we have already added a property to disable BOM. For the JS version it is:
StiOptions.Engine.barcodeQRCodeAllowUnicodeBOM = true;
for your case, set it to false.

This was made on March 14, and have been included into the build 2020.2.2 https://www.stimulsoft.com/en/downloads.

Thank you.
Post Reply