Skip to content

Conversation

LZZZZ
Copy link

@LZZZZ LZZZZ commented Jun 7, 2025

Since mb_convert_encoding() was added to DecodedBitStreamParser.php, QRCodes containing binary data with non-printable bytes stopped working.

This PR adds a new hint BINARY_MODE that, when used, reverts to the previous mode of just appending the string without encoding conversion. This also adds a test case for QRCodes containing binary data.

Result->getRawBytes() is not an viable alternative because it keeps padding characters.

…created a test and fixed nullable parameters.
@khanamiryan khanamiryan merged commit 17c570b into khanamiryan:master Jun 10, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants