cancel
Showing results for 
Search instead for 
Did you mean: 

Character Encoding issue in FCC sender Channel

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member190293
Active Contributor

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.

apu_das2
Active Contributor
0 Kudos

Hi Ezhil,

Try with UTF-16.

Thanks,

Apu

Former Member
0 Kudos

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.

former_member190293
Active Contributor
0 Kudos

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.

Former Member
0 Kudos

Hi Evgeniy,

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

former_member190293
Active Contributor
0 Kudos

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.