cancel
Showing results for 
Search instead for 
Did you mean: 

Strange File Problem

Former Member
0 Kudos

I have receiver content conversion and I am expecting a filw that looks like the following:

YYY

123456

789000

Instead my file looks liekt the following.

YYY [] 123456 [] 789000

Please note that where I have put [] that actually in the file is looking like a complete square but I cant insert that symbol for some reason......

But generall it looks like my file adapter is putting some encoding on the file.... can this be? if so how do I stop it?

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi Mendez,

>>YYY [] 123456 [] 789000

Those symbols occur when u save the text file in UTF-8 or some other. Try to save that in ANSI. And the endSeparator: 'nl' is correct.

Regards,

Pavani

former_member267355
Active Participant
0 Kudos

Hi,

Sometimes this problem might be bcoz of notepad also.

If you are getting output like this "YYY [] 123456 [] 789000" with that symbol

copy and paste the entire output in some wordpad, you may get in next line. Check that if that is the case then problem is with notepad.

Regards,

Sakthi

Former Member
0 Kudos

the thing is this was working a few months ago...

anyone know of any changes to the later release or PI

as in does the fixedLengthTooShortHandling still work or has it been replaced by something else?

Former Member
0 Kudos

did you try this

Instead of endSeparator 'nl' try this out: '0x0D''0x0A'

Remove 'nl' and put '0x0D''0x0A' for endSeparator and give a try once again.

as in the thread

I think its your thread only

prateek
Active Contributor
0 Kudos

Try changing the file type in the communication channel.

Also check File encoding

Regards,

Prateek

Former Member
0 Kudos

I then tried to add the value endSeparator 'nl'

my problem is that the file now comes like

YYY 'nl' 123456 'nl' 789000

It seems to be doing everythin part from creating the records on separate lines...