Generate UTF-8 Encoded DataMatrix Barcode using Aspose.BarCode for Java 7.3.0

Aspose.BarCode for Java logo We are pleased to announce the release of Aspose.BarCode for Java 7.3.0. This release supports generating DataMatrix Barcode that is UTF-8 encoded.

How to create UTF-8 Encoded Datamatrix Barcode

DataMatrix is used to encode product and serial number information on electrical rating plates, to identify lenses, circuit boards and other items during manufacturing. DataMatrix barcodes can store up to 2000 characters. It is sometimes required that Barcode generated should be in UTF-8 Format.

Following is the simple code snippet demonstrating how to generate UTF-8 encoded DataMatrix barcode.

// Create instance of BarcodeBuilder class.
BarCodeBuilder objBuilder = new BarCodeBuilder();

// Set the Barcode symbology to DataMatrix.

// Set the Encoding mode of DataMatix barcode to Custom mode.

// Set the Barcode Text encoding mode to UTF-8.

// set the Barcode text value.
objBuilder.setCodeText("öäüéà è");

// Save the Barcode image.
objBuilder.Save("test_output_Utf8.bmp", BarCodeImageFormat.Bmp);

Please review the release notes of Aspose.BarCode for Java 7.3.0 for a complete list of enhancements.

Aspose.BarCode for Java Resources

The resources you may need to accomplish your tasks: