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.
[)>0196L4M6V2 9;124 0201Z 22445514&# 29;UPSN 9;2V9276&# 29;116 ;1/5& #29;002 9;N&# 29;BARRIE& #29;ON ;
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.
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.
[)>0196L4M6V2
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.
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?
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
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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~02996336091 062~029840 ~029002...
DATA=[)>~03001~02996336091
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
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