Skip to content
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

Only keep supported characters within qr codes #255

Merged
merged 4 commits into from
Jun 27, 2024
Merged

Conversation

sprain
Copy link
Owner

@sprain sprain commented Jun 23, 2024

Fixes #254

  • Makes sure only supported characters are used within the qr code, removes others.
  • Adds an option to provide custom replacements for unsupported characters. Example:
    $qrBill->setUnsupportedCharacterReplacements([
      '«' => '"',
      '»' => '"'
    ]);

@sprain sprain changed the title Only allow supported characters with qr codes Only keep supported characters with qr codes Jun 24, 2024
@sprain sprain changed the title Only keep supported characters with qr codes Only keep supported characters within qr codes Jun 24, 2024
@sprain sprain merged commit 5490e91 into master Jun 27, 2024
18 checks passed
@sprain sprain deleted the ensure-characters branch June 27, 2024 11:17
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.

Ensure allowed character set in QR code contents
1 participant