Link to home
Start Free TrialLog in
Avatar of MikeCausi
MikeCausi

asked on

ASCII Non-Printable characters/codes and their HTML equivalents

I'm creating a character string which needs non-printable characters in it. The non-printables are GS, RS and EOT. I have to pass this string through to a maxicode in one of our designer softwares and it has to be via HTML encoding. The HTML codes for these are:   and  respectively.

I have been able to pass GS and EOT through properly but RS isn't going through properly, it's being completely suppressed. The first RS is preceded by [)>. The last one is preceded by  and followed by  Below is a sample string of what I'm passing through.

[)>0196L4M6V21240201Z22445514UPSN2V92761161/5002NBARRIEON

When it's decoded, it decodes with <GS> and <EOT> but no <RS>

Do you know of anything off the top of your head that would make the RS completely hidden?

Let me know if I can give you any more details.

Thanks.
Avatar of Ray Paseur
Ray Paseur
Flag of United States of America image

Are you trying to send the hexadecimal values for Group Separator, Record Separator, and End-Transmission?  Can you tell us a little more about a "maxicode," please?
Avatar of MikeCausi
MikeCausi

ASKER

We are trying tho send hexadecimal values for Group Separator, Record Separator, and End-Transmission but in HTML format. When creating the hexadecimals in a text editor such as notepad++, it breaks the maxicode and html page. So the HTML equivalent codings were implemented as a type of translation to work around the breakage.

A maxicode is a type of 2d barcode used in the shippng industry, mostly by UPS. When scanned, the GS, RS and EOT is supposed to show up when the option to view hidden characters is selected by their scanners.

This is what it looks like, sometimes referred to as a bullseye code.  See attached.
Maxicode1123.JPG
SOLUTION
Avatar of Ray Paseur
Ray Paseur
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Find out of the barcode generation code can use another format such as the ApplyTilde that is some of these type of products. For an example, look at the bottom of this section for this type of code:
DATA=[)>~03001~02996336091062~029840~029002...
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
The %#030; was the valid RS to pass through as HTML.  Although there was documentation found, adding a 0 before the 30 worked for our environment.  Thanks for the input