Our Customers
Contact Us Email: support@barcodelib.com
Home > .NET Barcode > VB.NET Barcoding Tutorial > Use VB.NET Class Library to Generate & Encode Unicode in 2D Barcodes
Download Barcode for .NET Suite Trial

How to Encode Unicode into Barcode in VB.NET

Barcode for .NET, VB.NET Supports Encoding Unicode into 2D Barcode Types
  • Directly use Barcode Library SDKs for VB.NET suite package to achieve barcode Unicode encodation
  • Quickly integrate VB.NET barcode Unicode encoding features into Visual Studio ASP.NET Web and .NET WinForms programs
  • Provide free VB.NET sample code to generate & encode Unicode into barcode images through Base64 Conversion
  • Provide free VB.NET demo code for converting Base64 string back to original Unicode characters
  • Supports 2d barcodes Data Matrix, PDF-417 and QR Code Unicode encoding in VB.NET class library
  • All generated and encoded 2d barcode images are in high print-quality, compatible with their industrial specifications
VB.NET Barcode Image Creating - Unicode Overview
If you want to encode Non-English characters, like Arabic, Chinese, Hebrew, Hindi, Japanese, Korean, etc, into a 2d barcode, Unicode is might be considered to use. It is commonly used in barcode applications for information conversion of languages all over the world.
Our VB.NET Barcode Generator SDK suite package supports three commonly used 2d (matrix) barcode symbologies that can be used to encode Unicode characters, namely Data Matrix, PDF 417 and QR Code.
In general, these 2d barcodes can encode single-byte strings only, not available for Unicode two-byte characters. So, our VB.NET Barcode Library adopts a conversion technique to achieve this. That is Base64 Conversion Methods.
How to Add & Encode Unicode into Barcode in VB.NET

VB.NET Barcode Unicode Encoding Requirement

Please make sure you have installed the following programs on your computer.

VB.NET Barcode Unicode Characters Encoding Process

In the following examples, three 2D barcodes VB.NET Unicode encoding are taken as examples, including VB QR-Code Unicode Encodation, VB Data Matrix Unicode Encodation, and VB PDF-417 Unicode Encodation.
Firstly, we use VB code to convert Unicode string into Base64 string. And then encode Base64 string into 2D barcode images.
  • 1. How to Encode Unicode into QR Code in VB.NET Class
    (Unicode string in Korean. In English, it means "Computer".)


  • 2. How to Encode Unicode into Data Matrix in VB.NET Class
    (Unicode string in Arabic. In English, it means "Computer".)


  • 3. How to Encode Unicode into PDF-417 in VB.NET Class
    (Unicode string in Japanese. In English, it means "Computer".)


VB.NET Barcode Reading & Outputting Unicode Characters

Due to the fact that we use Base64 Conversion method to convert and encode Unicode string into 2d barcodes, the decoding process requires you use Base64 encoding method converstly in your application get your original Unicode string. Please see the following VB.NET class code.
     Dim base64SingleBytes As Byte() = Convert.FromBase64String(data)
     Dim UnicodeFromBarcode As String = System.Text.Encoding.Unicode.GetString(base64SingleBytes)
Besides VB.NET barcode unicode encoding, BarcodeLib.com also depicts How to Encode Barcode with Unicode Characters in Visual C#.
How to Encode Unicode with Other Barcode Generators
Barcode Generation SDK for VB.NET - Supports These Barcodes
Linear / 1D Barcodes:
Matrix / 2D Barcodes: