Read Unicode text from 2d barcodes using Java

How to read 2d barcodes encode Unicode text in Java class, Servlet, web, J2EE applications?

GS1 data and Barcode Symbologies for GS1 data encoding

You can easily convert digits, alphanumeric data message into barcodes. If you want to encode Unicode Latin-based characters to barcodes, you need process the Unicode text first, then conver to 2d barcodes.

Here is the most common method to convert Unicode text into barcodes.

  • Convert Unicode text string to byte array using UTF-8 encode
  • Create 2d barcodes from converted byte array


The following 2d barcode symbologies supports byte array encoding mode:
  • Data Matrix
  • PDF-417
  • QR Code




How to read, decode Unicode text from barcodes in Java class using Java Barcode Reader?

The Java source code and text below explain how to use Java code to read Unicode text from 2d barcodes, such as QR Code, Data Matrix and PDF-417 symbologies.
  • Utilize method BarcodeScanner.ScanInDetails() to get all QR Code data messages from existing image files
  • Call method BarcodeDetail.GetDataBytes() to get the barcode data in byte array object
  • Use System.Text.Encoding.UTF8.GetString() to convert byte array to Unicode with UTF-8 encode




















OnBarcode is a market-leading provider of barcode imaging generator, reader controls and components for ASP.NET, Windows Forms, WPF, as well Java, Android, iOS (iPhone, iPad) across all major enterprise development platforms. We provides comprehensive tutorials and how-tos for various linear, 2d barcode information, such as C# in ASP.NET, C# .NET, C# Barcode Encoding, C# Barcode Image, VB.NET in ASP.NET, VB.NET Winforms, VB.NET Barcode Encoding. OnBarcode barcode products are supported by RasterEdge ASP.NET Document Viewer, which supports ASP.NET PDF Viewer, ASP.NET MVC Document Viewer, ASP.NET PDF Editor, MVC PDF Viewer. And provide high quality C# Convert PDF to Tiff, C# Convert PDF to Word, C# Convert PDF to HTML, C# Convert PDF to Jpeg images, and their easy and simple documents, like C# PDF SDK, C# extract text from PDF, C# Compress PDF, Print PDF in C# and C# extract image from PDF.
Terms of Use | Privacy Policy
Copyright © OnBarcode.com . All rights reserved.