Skip to Content
0

Character Encoding issue in FCC sender Channel

May 09, 2017 at 01:32 PM

57

avatar image

Hi All,

I am facing an issue with flat file having multiple language characters in it. The Source file has other language characters(chinese, german, Russian etc). When I try to pick the flat file, the character values are getting corrupted. Scenario is File to File (Flat file to XML). Attached below the screenshots of those.

In Sender FCC I gave the encoding as 'UTF-8' , but its not getting converted with proper xml file.

Please provide your valuable inputs for this issue.

Thanks,

Ezhil.

fcc.png (9.9 kB)
xml.png (32.5 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

Evgeniy Kolmakov May 09, 2017 at 03:27 PM
1

Hi Ezhil!

As far as I remember in sender adapter you set encoding of original file. In PI message is always encoded as UTF-8 unless you transfer it as binary payload. And in receiver adapter you set encoding for target output.

So, I would try to find out what exactly is the source file encoding and set it in sender adapter properties.

Regards, Evgeniy.

Share
10 |10000 characters needed characters left characters exceeded
Ezhilkumar Asaithambi May 09, 2017 at 03:57 PM
0

Hi Evgeniy,

The Source File Encoding(Flat File) is UTF-8. When I try to convert the Flat file to Source XML, the other language characters are not coming properly.

Thanks,

Ezhil.

Show 3 Share
10 |10000 characters needed characters left characters exceeded

Hi Ezhil!

Have a look at your payload on the receiver side in communication channel monitoring. Is it corrupted?

And is your scenario pass-through or you use any kind of mapping?

Regards, Evgeniy.

0

Hi Evgeniy,

I have used Mapping to sort the records based on the Customer Number. Attached the payload for the receiver side.

0

Hi Ezhil!

What kind of mapping did you use?

Try to remove message mapping from operation mapping just to be sure it's not the mapping program issue.

Regards, Evgeniy.

0
Apu Das May 10, 2017 at 08:16 AM
0

Hi Ezhil,

Try with UTF-16.

Thanks,

Apu

Share
10 |10000 characters needed characters left characters exceeded