C1Barcode Datamatrix with german umlauts

Posted by: SHanau on 25 October 2024, 5:08 am EST

  • Posted 25 October 2024, 5:08 am EST - Updated 25 October 2024, 5:31 am EST

    Hi There,

    How can I get C1Barcode to create a DataMatrix with german umlauts as with standard settings the underlying text is being corrupted and the umlauts are being replaced by some ASCII characters?

    Is there a property where I could set the coding to ISO-8859-1 or UTF-8?

    Thanks in advance,

    Stephan

  • Posted 25 October 2024, 6:06 am EST

    Hello Stephan,

    The DataMatrix BarCode encodes data using the subset of ISO/IEC 646 (equivalent to ASCII table 256) for all the information. So, it is not possible to encode German umlauts with the DataMatrix BarCode.

    Ref: https://www.gs1.org/standards/gs1-datamatrix-guideline/25#2-Encoding-data+2-1-The-encoding-structures

    Instead, you can use QRCode BarCode for this purpose, which supports up to 7,089 characters. Ref: https://en.wikipedia.org/wiki/QR_code#Information_capacity

    Please refer to the attached sample for implementation. (see BarCode_Sample.zip)

    Regards,

    Uttkarsh.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels