Skip to content

Swiss QRCode: New character set are available on 18.November 2022 #431

@RamonaFrickCH

Description

@RamonaFrickCH
Contributor

Type of issue

[ ] Bug
[ ] Question (e.g. about handling/usage)
[x] Request for new feature/improvement
Swiss QRCode: New charaterset is available on 18. November 2022

Expected Behavior

A customer reported that he cannot use his company name with degree characters in the QRCode information (Contact / Name) and gets the following error message:
Contact: Name must match the following pattern as defined in pain.001: ^([a-zA-Z0-9.,;:'\ +-/()?*[]{}\`´~ )

Now I wrote with Sixpayment about the problem and answer to me, that on 18.November are new character set are allowed.

Here the message:
_Guten Tag Frau Frick,
Vielen Dank für Ihr e-Mail.
Die restlichen Zeichen werden dann umgewandelt.
Im folgenden [Dokument|Swiss Payment Standards 2022 (six-group.com)] sind auch die Zeichen aufgeführt. Der Zeichensatz wird ab dem 18. November, verglichen mit der vorherigen Version, erweitert werden.

Partner Support

SIX
Banking Services_

Current Behavior

Possible Solution (optional)

customize/update in class Contact the variable charsetPattern
QRCodeCharsetPatter

Steps to Reproduce (for bugs)

Insert in the adress the name with YXZ°
Contact WithStructuredAddress(string name, string zipCode, string city, string country, string street = null, string houseNumber = null);

Your Environment

Activity

RamonaFrickCH

RamonaFrickCH commented on Nov 11, 2022

@RamonaFrickCH
ContributorAuthor

Fix Issue in PayloadGenerator
Line989

var charsetPattern = @"^([a-zA-Z0-9.,;:'\ +-/()?*[]{}\`´~ ^|]|[!""#%&<>÷=@_$£¡¢¤¥¦§¨©ª«¬®¯°±²³µ¶·¸¹º»¼½¾¿×Ø€]|[àáâäãåāăąçćĉċčďđèéêëēĕėęěĝğġģĥħìíîïĩīĭįıijķĸĺļľŀłñńņňʼnŋòóôöōŏőõŕŗřśŝşšșţťŧțùúûüũūŭůűųŵýÿŷźżžßÀÁÂÄÃÅĀĂĄÇĆĈĊČĎĐÈÉÊËĒĔĖĘĚĜĞĠĢĤĦÌÍÎÏĨĪĬĮİIJĴĵĶĹĻĽĿŁÑŃŅŇŊÒÓÔÖÕŌŎŐŔŖŘŚŜŞŠȘŢŤŦȚÙÚÛÜŨŪŬŮŰŲŴÝŶŸŹŻŽÆÐÞæðøþŒœſ])*$";

added 2 commits that reference this issue on Nov 11, 2022
codebude

codebude commented on Apr 20, 2024

@codebude
Owner

Fixed with PR #432 . Bugfix will be part of QRCoder 1.5.0. Thanks for your support @RamonaFrickCH

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

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @codebude@RamonaFrickCH

        Issue actions

          Swiss QRCode: New character set are available on 18.November 2022 · Issue #431 · codebude/QRCoder