[EDI-L Mailing List Archive Home] [Message List] [Reply To This Message]

Re: character sets

From: Tom Brandt <tom.brandt@...>
Date: Tue Dec 14, 2004  9:09 pm
Subject: Re: [EDI-L] character sets
At 03:45 PM 12/14/2004, wrote:

>Are there rules in the edi spec governing the character set used in a
>transaction?
>Also, how is the segment terminator specified? Should it be the first
>character after the ISA segment?

There are no rules in X12 (there are in EDIFACT), but there are
recommendations:

Segment terminator: Hex 1C, hex 15 (EBCDIC only), hex 0D, or a tilde
character "~"

Data element separator: Hex 09 (ASCII), Hex 05 (EBCDIC), asterisk "*", or "^"

Subelement separator: Hex 0B, or "\"

The segment terminator is always the first character following the ISA segment.

I prefer to use Hex 1C, 09 and 0B because they (should) never occur in data.
--
Tom Brandt
Northtech Systems, Inc.
130 S. 1st Street, Suite 220
Ann Arbor, MI 48104-1343
http://www.northtech.com/




 
EDI to XML Mapping for EDIFACT/X12 Convert EDIFACT/X12 Schemas to XML Schema Legacy Data Conversion Tools Access Relational Data as XML Visual XSLT and XQuery Mapping Tools Simplify EDI Data Integration with Stylus Studio XML Enterprise Suite - Free Download!
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.