Demo tool for new section 14.5.16 introduced in draft GS1 Tag Data Standard 2.3
- to show encoding options for efficient binary encoding of custom hostnames in new '++' EPC schemes

Hostname to encode:
Demo values:
 
Binary encoding result options:
URN Code 40 0 {{lengthIndicator(hostname.length)}}{{urnCode40binary}}  {{urnCode40binary.Error}} 
7-bit ASCII no optimisation 1{{lengthIndicator(hostname.length)}}{{unoptimised7bitASCII}}
7-bit ASCII with optimisation 1{{lengthIndicator(optimised7bitASCII.length/7)}}{{optimised7bitASCII}}
 
Bit counts:
URN Code 40{{7+urnCode40binary.length}} bitsN/A
7-bit ASCII no optimisation{{7+unoptimised7bitASCII.length}} bits
7-bit ASCII with optimisation{{7+optimised7bitASCII.length}} bits