oooops, see that you send pcitures....my email reader does not display those by default...
my advice here is to check out what is going on.
some word processors use \xe2 when you type in apostrophe.
so is this production? looks like a 'manual' file to me.
the edifact rules are quite clear.
if they want other separators, use UNA (like Mike suggests).
but actually there is no reason to use other than default/standards separators.
Contact the edi-partner!
kind regards,
henk-jan
On 07/10/2015 10:04 PM, Tom Westrick wrote:
> I am getting the following error from preprocess.py line 228 when trying to process a EDIFACT DELFOR 97A document:
>
> [M58]: Found no valid UNZ trailer for the UNB header at position 0.
>
> The record separator is a non-ASCII char \xe2. If I replace it in the file with a single quote, the file processes without error. Here is a snippet of the beginning and ending of the file.
>
> <
https://lh3.googleusercontent.com/-gjzhlFdVdhs/VaAhygYNlyI/AAAAAAAACHk/83E629rw1e0/s1600/Capture.PNG>
>
>
>
>
>
>
>
>
> <
https://lh3.googleusercontent.com/-fPT5nUIE4sI/VaAlJdtA4KI/AAAAAAAACH0/5B9hxEZiCqc/s1600/Capture.PNG>
>
>
> I tried setting the record_sep in the syntax section of the DELFORD97AUN grammar but no luck. I also tried editing the preprocess.py file hardcoding the record_sep on line 208.
>
> Any suggestions?
>
> -Tom