-
-
Notifications
You must be signed in to change notification settings - Fork 547
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong characters for Aztec decoder in Decoder.MIXED_TABLE
#607
Labels
Comments
alexanderpopko
added a commit
to digital-h-gmbh/zxing-js-library
that referenced
this issue
Jun 27, 2024
alexanderpopko
added a commit
to digital-h-gmbh/zxing-js-library
that referenced
this issue
Jun 27, 2024
alexanderpopko
added a commit
to digital-h-gmbh/zxing-js-library
that referenced
this issue
Jun 27, 2024
This was referenced Jun 27, 2024
This was referenced Sep 13, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, and many thanks to all contributers for maintaining this library!
I encountered a bug when decoding Aztec codes. Will try to supply a fix and create a pull request.
Describe the bug
Decoding Aztec codes in some cases gives wrong results, i.e.,
'\x01'
/'\x02'
/'\x03'
/'\x04'
/'\x05'
/'\x06'
/'\x07'
/'\x0b'
/'\x1b'
/'\x1c'
/'\x1d'
/'\x1e'
/'\x1f'
/'\x7f'
get decoded to'\\1'
/'\\2'
/'\\3'
/'\\4'
/'\\5'
/'\\6'
/'\\7'
/'\\13'
/'\\33'
/'\\34'
/'\\35'
/'\\36'
/'\\37'
/'\\177'
.To Reproduce
Run the following script and see the expected/received output. I ran it using:
Expected behavior
'\x01\x02\x03\x04\x05\x06\x07\x0b\x1b\x1c\x1d\x1e\x1f\x7f'
gets decoded to'\x01\x02\x03\x04\x05\x06\x07\x0b\x1b\x1c\x1d\x1e\x1f\x7f'
.Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: