Page 1 of 1

QR Code problem

Posted: Tue Mar 03, 2020 3:52 pm
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

Re: QR Code problem

Posted: Thu Mar 05, 2020 11:15 pm
by HighAley
Hello,

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

Thank you.

Re: QR Code problem

Posted: Fri Mar 06, 2020 11:52 am
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

Re: QR Code problem

Posted: Fri Mar 13, 2020 8:30 pm
by Lech Kulikowski
Hello,

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

Thank you.

Re: QR Code problem

Posted: Tue Mar 31, 2020 5:59 pm
by peda
Hello Lech
Are any Infos how to remove BOM on QR Code ?

Thanks Peter

Re: QR Code problem

Posted: Wed Apr 01, 2020 8:07 am
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.