When using the BusinessConnect EDI Protocol to produce TEXT files, the Newline character is not added in the output file.

When using the BusinessConnect EDI Protocol to produce TEXT files, the Newline character is not added in the output file.

book

Article ID: KB0090866

calendar_today

Updated On:

Products Versions
TIBCO BusinessConnect EDI Protocol Powered by Instream -
Not Applicable -

Description

Resolution:
Description:
============
The Newline character is missing in outbound generated EDI file when the XML file to be converted has some non-ISO-8859-1 characters.

Environment:
==========
Linux RHEL 5.x, 6.x with BC EDI 6.X

Symptoms:
=========
The XML to EDI is converted properly with the new line getting generated properly if the XML does not have the special character but if the non-ISO-8859-1 character is present, the newline character is not generated properly. No exceptions are thrown in the logs.

Cause:
=====
The "locale" setting of the operating system on that particular machine might be different from "UTF-8" which is the correct encoding for these special characters.


Resolution:
=========
Check and compare the locale settings using the "locale" command . The machine locale property LANG should be "en_US.UTF-8" . If this property is anything other than UTF-8, it should be set to UTF-8. This should be done by Linux system administrators.

Issue/Introduction

When using the BusinessConnect EDI Protocol to produce TEXT files, the Newline character is not added in the output file.