cancel
Showing results for 
Search instead for 
Did you mean: 

Encoding UTF-16 big endian not working

former_member723031
Participant
0 Kudos

Hi Experts,

I have SAP to 3rd party scenario,

where in both cases File adapter is used.

and user is expecting : file should automatically save as TXT Unicode Big Endian i.e. UTF-16.

At receiver channel config. we have mentioned

File type Text

Encoding UTF-16

Still they are not getting in the mentioned format.

please guide what else configuration we need to do .

Do we have to mention UTF-16 at Sender channel as well ?

Thanks,

Swapnashree

Accepted Solutions (0)

Answers (4)

Answers (4)

stefan_grube
Active Contributor
0 Kudos

Is the source file in UTF-8?

Use UTF-16BE in receiver file adapter.

Which format is the target file?

former_member723031
Participant
0 Kudos

The source file format should be xml. and receiver UtF-16.

So, I think i will put file type in both channel as binary and at receiver side :

File Type as Binary and apply XMLAnonymizerBean as an additional module in the Module tab page.

Please let me know if i am wrong.

stefan_grube
Active Contributor
0 Kudos

> The source file format should be xml. and receiver UtF-16.

> So, I think i will put file type in both channel as binary and at receiver side :

> File Type as Binary and apply XMLAnonymizerBean as an additional module in the Module tab page.

> Please let me know if i am wrong.

This is correct when your target file is also XML, which you did not mention.

former_member723031
Participant
0 Kudos

No, receiver side user need file in text format with encoding UTF-16. in that case, what would be done

stefan_grube
Active Contributor
0 Kudos

That depends.

How do you convert XML file to text?

nils_buerckel
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Swapnashree,

as code page for a file SAP supports UTF-8 only.

In order to convert the file to UTF-16, I would recommend to use tools as oulined in

Best regards,

Nils

GabrielSagaya
Active Contributor
0 Kudos

You can use TextCodepageConversionBean in the module tab of CC.

Please refer my blog

/people/gabrielsagayaselvam.panneerselvam/blog/2009/12/07/standard-adapter-framework-modules-afmodules-in-pi-71-150part-1

Former Member
0 Kudos