Show / Hide Table of Contents

Enum SpsCharacterSet

Swiss Payment Standard character set.

The character set defines the allowed characters in the various payment fields.

Namespace: Codecrete.SwissQRBill.Generator
Assembly: Codecrete.SwissQRBill.Core.dll
Syntax
public enum SpsCharacterSet

Fields

Name Description
ExtendedLatin

Extended Latin character set.

Valid characters are all printable characters from the Unicode blocks Basic Latin (Unicode codePoints U+0020 to U+007E), Latin-1 Supplement (Unicode codePoints U+00A0 to U+00FF) and Latin Extended A (Unicode codePoints U+0100 to U+017F) plus a few additional characters (such as the Euro sign).

This character set has been introduced with SPS 2022 (November 18, 2022) but may not be used in QR bills until November 21, 2025 when all banks are ready to accept messages with this character set.

FullUnicode

Full Unicode character set.

This character set may be used when decoding the QR code text. It is not suitable for generating QR bills or payment messages in general, and it is not covered by the Swiss Payment Standard.

Latin1Subset

Restrictive character set from the original Swiss Payment Standard and original QR bill specification.

Valid characters consist of a subset of the printable Latin-1 characters in the Unicode blocks Basic Latin and Latin-1 Supplement.

Extension Methods

SpsCharacterSetExtension.Contains(SpsCharacterSet, char)
SpsCharacterSetExtension.Contains(SpsCharacterSet, int)
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX