cancel
Showing results for 
Search instead for 
Did you mean: 

Encoding Issue in PI

Former Member
0 Kudos

Hi, 

We have a interface IDOC to File creation.
We have a text hardcoded in message mapping to one of the target fields which has Euro sign and ' sign in it. In MONI the xml payload has the sign coming correctly. But while the file adapter converts the xml to txt the Euro symbol and ' sign is converted to "?" . We have tried giving encoding ISO-8859-1,  ISO-8859-15 etc. But still not working . Please help to resolve this.

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi Shyamalima,

As you mentioned you can see the right character in SXMB_MONI, so there is issue in adapter conversion. Please use the destEncoading as well as srcEncoding parameter in adapter as utf-8.

Regards,

Sagarika

nabendu_sen
Active Contributor
0 Kudos

Hi Shyamalima,

You can use "XmlAnonymizerBean" in your adapter. As Stefan mentioned you can use CP1252 and check. Please find more:

http://help.sap.com/saphelp_nw04/helpdata/en/45/d169186a29570ae10000000a114a6b/content.htm

stefan_grube
Active Contributor
0 Kudos

The Euro sign is not part of ISO-8859-1.

You could try cp1252 (Windows code page) instead.

ISO-8859-15 has also a Euro sign, but it is a different hex value as in cp1252.

The question is, which codepage is expected by the receiving system of the file. Ask for this information.

Former Member
0 Kudos

Thanks all for your replies.

As you all said it is was as per receiver system's code page. We corrected it as per their setting.

Former Member
0 Kudos

Hello Shyamalima,

Why dont u use an XSLT mapping or java mapping to convert xml message of sxmb_moni(which is in UTF-8 format) into ISO-8859-1,  ISO-8859-15 etc and then send that message to File adapter.

Regards

Vinay

iaki_vila
Active Contributor
0 Kudos
Harish
Active Contributor
0 Kudos

Hi,

As you mention you can see the right character in SXMB_MONI, so there is issue in adapter conversion. Please use the destEncoading parameter in adapter with utf-8.

Regards,

Harish