Barcode Fonts, Components, ActiveX and .NET Windows Forms Controls, Java Servlets, 
DLLs and Barcode Scanners. IDAutomation.com, Inc. is a BBB Accredited Business. Click for the BBB Business Review of this Computers Hardware, Software & Services in Tampa FL
Contact IDAutomationView your cart in the IDAutomation Store
Loading

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:

Solution(s):

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 2013 IDAutomation.com, Inc., All Rights Reserved. Legal Notices.

Barcode Fonts | Components | Scanners | Support | Contact Us
Training Videos on YouTubeJoin us on LinkedInFollow us on TwitterLike us on Facebook
70% of Fortune 100 Company's use IDAutomation Products.