# Extra Segment delimiters

**URL:** <https://techcommunity.softwareag.com/t/extra-segment-delimiters/108340>\
**Category:** Forum\
**Tags:** EDI\
**Created:** [August 8, 2003, 8:41pm UTC](https://techcommunity.softwareag.com/t/extra-segment-delimiters/108340 "2003-08-08T20:41:20Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Guest](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/guest/32/75_2.png) [@Guest](https://techcommunity.softwareag.com/u/Guest)\
**Post date:** [August 8, 2003, 8:41pm UTC](https://techcommunity.softwareag.com/t/extra-segment-delimiters/108340/1 "2003-08-08T20:41:20Z")

</div>

Hello,  
I have an EDI service that maps an outbound EDI 4010 855 and submits to TN for public queue. When I submit the EDI doc to TN the EDIDocument value is coorect with the correct segment terminator. However when the public queue invokes the putToVan service the data arrives at the van with an extra segment delimiter. The file as sent to our VAN looks like the following:

ISA_00 __00__ 01_00923319800T _01_6098604000T _030808_1010_U_00401_081010123_0_T_\>Â  
µGS_PR_00923319800T_6098604000T_20030808_1010_1_T_004010Â

I can’t seem to figure out where this extra character (Â) is being added. I have set the encoding to ISO-8859-1 in the public queue inputs section and have tried sending both ascii and binary. Does anyone have any ideas of other things I can try.

Thanks in advance for your help.

---

<div class="post-metadata">

**Author:** ![reamon](https://avatars.discourse-cdn.com/v4/letter/r/b77776/32.png) [@reamon](https://techcommunity.softwareag.com/u/reamon)\
**Post date:** [August 8, 2003, 9:50pm UTC](https://techcommunity.softwareag.com/t/extra-segment-delimiters/108340/2 "2003-08-08T21:50:54Z")

</div>

What is the segment delimiter that you’re using? Is it a char \>127 decimal? My guess is that somewhere along the processing line, the encoding is UTF-8, which causes your \>127 char to be encoded as two chars.

---

<div class="post-metadata">

**Author:** ![Guest](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/guest/32/75_2.png) [@Guest](https://techcommunity.softwareag.com/u/Guest)\
**Post date:** [August 8, 2003, 11:53pm UTC](https://techcommunity.softwareag.com/t/extra-segment-delimiters/108340/3 "2003-08-08T23:53:54Z")

</div>

Hi Rob,

I am using the (µ) as the segment terminator. Also, am looking through the services and don’t see a UTF-8 yet. Will keep checking though.

Thanks

---

<div class="post-metadata">

**Author:** ![reamon](https://avatars.discourse-cdn.com/v4/letter/r/b77776/32.png) [@reamon](https://techcommunity.softwareag.com/u/reamon)\
**Post date:** [August 9, 2003, 12:26am UTC](https://techcommunity.softwareag.com/t/extra-segment-delimiters/108340/4 "2003-08-09T00:26:38Z")

</div>

UTF-8 is the default encoding. So if there is a stringToBytes or bytesToString call somewhere without an encoding specified, they use UTF-8.

---

<div class="post-metadata">

**Author:** ![Guest](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/guest/32/75_2.png) [@Guest](https://techcommunity.softwareag.com/u/Guest)\
**Post date:** [August 9, 2003, 1:09am UTC](https://techcommunity.softwareag.com/t/extra-segment-delimiters/108340/5 "2003-08-09T01:09:45Z")

</div>

Thanks Rob but I still can’t find anything out of the ordinary. I searched in all the services that are relevant for this and have set all encoding inputs. The getContentPartData in the putToVan service get the content from TN as “stream” do you think doing a streamToBytes and put it “binary” will help?

---

<div class="post-metadata">

**Author:** ![reamon](https://avatars.discourse-cdn.com/v4/letter/r/b77776/32.png) [@reamon](https://techcommunity.softwareag.com/u/reamon)\
**Post date:** [August 9, 2003, 3:38am UTC](https://techcommunity.softwareag.com/t/extra-segment-delimiters/108340/6 "2003-08-09T03:38:13Z")

</div>

When you view the queued bizdoc in TN, what does the “Part” information indicate the Type is on the Content tab?

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 3:05pm UTC](https://techcommunity.softwareag.com/t/extra-segment-delimiters/108340/7 "2021-04-02T15:05:11Z")

</div>


