on 11-22-2016 2:19 PM
tbel-cancellationtobeinvoiced-20161122-051000.txtDear all,
we are in PI 4.0
Scenario SFTP file (format csv UTF-8 with BOM) to RFC
During the load of File, I convert it to xml document and during mapping there is an error "Invalid byte 2 of 3-byte UTF-8 sequence.
The file begin with characters EF BB BF
.I join the file I want to upload (test file).
Can somebody help me?
Eric Koralewski
Similar error here with PO 7.5. Sender SFTP adapter is not able to process a file with encoding UTF-8-BOM . It doesn't even get to the module procesor and no specific error is showed.
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Eric,
When i was checking for one of my issues, i found that, you also got similar kind of issue.
You solved by using Java Mapping step before the graphical mapping to eliminate the doublequotes in the nodenames.
could you please let me know ASAP - step by step process of java mapping and also code.
Thanks a lot - the above issue is like nightmare to me, if you provide me the inputs it will be a great helpful for me. Once again thanks in advance.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Eric!
I've tried to process your attached file using MessageTransformBean. It worked for me. Maybe you could use it instead of FCC too?
Regards, Evgeniy.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Eric,
that's the byte order mark. I also still did not find a clean solution to get rid of this.
Actually, I would assume, that the SFTP-Adapter should eliminate this when reading the file, but it doesn't.
We are currently using a "string replace module" to remove it before the XML conversion-bean.
Regards,
Heiko
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Evgenly,
No I convert the flat file with the file conversion included in the SFTP sender adapter.
Regards
Eric Koralewski
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.