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
QR Code problem
Re: QR Code problem
Hello,
Could you send us a sample that will let us reproduce the issue?
Thank you.
Could you send us a sample that will let us reproduce the issue?
Thank you.
Re: QR Code problem
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==

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==

-
- Posts: 7291
- Joined: Tue Mar 20, 2018 5:34 am
Re: QR Code problem
Hello,
We need some additional time to investigate the issue, we will let you know about the result.
Thank you.
We need some additional time to investigate the issue, we will let you know about the result.
Thank you.
Re: QR Code problem
Hello Lech
Are any Infos how to remove BOM on QR Code ?
Thanks Peter
Are any Infos how to remove BOM on QR Code ?
Thanks Peter
Re: QR Code problem
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.
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.