Skip to content

Invalid / corrupted QR Code  #330

Closed

Description

@Armin234

Hi,

I'm using .Net 4.5 und Nuget version 1.4.1 of QRCoder, and I'm getting an invalid / corrupted
QR-Code for the Data = "A11".
The generated QR-Code has only 20 Lines, instant of 21 lines as the QR-code generated for "A05"

QRCodeGenerator qrGenerator = new QRCodeGenerator();
QRCodeData qrCodeData = qrGenerator.CreateQrCode("A11" , QRCodeGenerator.ECCLevel.H);
AsciiQRCode qrCode = new AsciiQRCode(qrCodeData);

string lF = qrCode.GetGraphic(1, "1", "0", "\n");

Is there any workaround ?

Regards Armin

Activity

  1. victoriensukarieh commented on Oct 11, 2021

    @victoriensukarieh

    when using the & in the string the code is altered. do you have a similar issue?

  2. added a commit that references this issue on Nov 8, 2021
  3. codebude commented on Nov 8, 2021

    @codebude
    Collaborator

    Thank you both for your input! I found and fixed the bug in #339
    If you want to test the changes, feel free to use the latest CI-build nuget package (Should be available within 10 minutes.) or wait for the 1.4.2 release on Nuget.org.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugBug or bug fix

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions