Barcode Fonts, Components, ActiveX and .NET Windows Forms Controls, Java Servlets, 
DLLs and Barcode Scanners. This site chose the Norton Secured Seal to promote trust online with consumers., Inc., Computers Hardware, Software & Services, Tampa, FL View your cart in the IDAutomation Store

Encode Reserved Characters in a barcode

This support issue of encoding reserved characters in an HTML environment applies to the following web-based barcode generation components:


Characters such as %, +, and & are reserved for specific purposes, when they are seen in the actual HTML text being sent, and the request for a barcode encoding these characters may become distorted when these characters are used. This is due to the HTML processor translation.

The recommended work-around according to W3C is to replace reserved characters with the percent sign (ironically, this is the reason that the percent sign is a reserved character) and the hexadecimal value associated with the ASCII character. For instance, the hex value for the percent sign is 25; therefore replace all instances of the percent sign with %25. For the ampersand, the hex value is 26, so replace all instances in the data to encode with %26. Therefore, if the data string is 1%1&2%07, change the string to 1%251%262%2507.

Related Documents:
 ©Copyright 2017, All Rights Reserved. Legal Notices.

 Barcode Fonts | Components | Scanners | Support | Contact Us

Training Videos on YouTube  Join us on Google Plus  Join us on LinkedIn  Follow us on Twitter  Like us on Facebook
Over 70% of Fortune 100 companies use IDAutomation's products to automate their businesses.