|
[EDI-L Mailing List Archive Home]
[Message List]
[Reply To This Message]
Re: 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/
|
|
Subscribe in XML format
| RSS 2.0 |
|
| Atom 0.3 |
|
|