Our Customers
Contact Us Email: support@barcodelib.com
Home > .NET Barcode > C# Barcoding Tutorial > C# Unicode Encoding > Visual C#.NET PDF-417 Barcode Unicode Encoding Guide
Download Barcode for .NET Suite Trial

PDF-417 2D Barcode Unicode Encoding in C#

How to Add Unicode String into PDF-417 2D Barcode Using C#.NET Class Library
  • Add advanced C# PDF-417 Unicode encoding capability into various .NET applications
  • Offer uses with free C#.NET sample code for PDF-417 Unicode encoding & decoding
  • All designed PDF-417 barcode parameters are user-defined in Visual C# class library
  • Enable users to quickly generate and save PDF-417 barcode in image file or in memory
  • Also support using C#.NET class to encode Unicode in QR Code and Data Matrix barcodes
  • Provide free C#.NET PDF-417 Barcode Library trial package for testing & evaluating
PDF-417 and C# Unicode Encoding Overview
PDF-417 is a continuous two-dimensional barcode with multiple rows and columns. It is both self-checking and bi-directionally decodable. This barcode symbology is invented by Dr. Ynjiun P. Wang at Symbol Technologies in 1991 and it now be widely adopted in transport, identification cards, and inventory management.
PDF-417 barcode can also encode Unicode stings in Non-English characters (Greek, Chinese, Hebrew, Arabic, Korean, etc) through some conversion technique. In our C#.NET Barcode Library DLL, we directly uses Base64 encoding algorithm to achieve C# PDF-417 Unicode encodation.
C# PDF-417 Barcode Generation - Unicode Encoding
Please firstly download and install our .NET Barcode Generator Suite Package. In the following example, we use BarcodeLib.Barcode.WinForms.dll in the package as an example.
On the contrary, for Data Matrix decoding, you still need to use Base64 Conversion Method to obtain your original Unicode data characters. Let's take Chinese characters as an example.

Convert Unicode to Base64 String and Encode it to PDF417 Barcode

Please use the following Visual C#.NET class code to convert your Unicode string to Base64 string. Then, encode Base64 string into PDF-417 barcode. In English, the Korean word refers to "Internet".

Convert PDF-417 Base64 String to Unicode When Decoding

For PDF-417 Unicode encoding, we use Base64 Conversion. So, it should be used conversely for decoding PDF-417 barcode in C#.NET class. Below is the C# sample code.
     byte[] base64SingleBytes = Convert.FromBase64String(data);
     string UnicodeFromBarcode = System.Text.Encoding.Unicode.GetString(base64SingleBytes);
Other Supported 2D Barcodes C# Unicode Encoding
This C#.NET barcode generator SDK can also generate Data Matrix and QR Code barcode symbologies. If you need to encode Unicode to Data Matrix and QR Code, please go to pages:
In addtion, if you want to encode Unicode into PDF-417 barcode with VB.NET class library, please see:
Other Barcode Genrator Controls Support Encoding Unicode
BarcodeLib.com provides other barcode generator controls that support barcode Unicode encoding, especially for Java, ASP.NET Web, Windows Forms, SQL Server Reporting Services, .NET Crystal Reports, .NET RDLC Reports and so on.
Barcode for C#.NET Supports Other Linear & 2D Barcodes Encoding
C# 1D Barcode Types:
C# 2D Barcode Types: