cancel
Showing results for 
Search instead for 
Did you mean: 

Special characters in Input file

Former Member
0 Kudos

Hello All,

Scenario is Inbound Interface.

The Input text file contains special characters like ç ã õ á ó ú é í â ô û ê î . These characters are not within the range of UTF-8/

iso-8859-1/UTF-16 and other standard Encoding format given by SAP. Be default SAP PI file sender channel uses UTF-8 Encoding.

As per the Legacy team the input file was generated using the Encoding of  "Windows-1252 or CP-1252" on their side.

Can any one please tell me how to convert the Encoding from Windows-1252 to UTF-8 in PI File sender channel?

Thanks & Regards,

Moorthy

Accepted Solutions (0)

Answers (5)

Answers (5)

former_member332408
Discoverer
0 Kudos

Hi Moorthy,

You can solved this problem? i have the same problem in adapter EDI_SEPARATOR.

If you solved, could you share the solution with me.

best regards,

vinaymittal
Contributor
0 Kudos

Use XMLAnonymizer Bean this thread may be useful

Encoding Issue : JMS and Mapping : utf-8 iso8859-1 | SCN

You can even use XSLT mapping to change the encoding

<xsl:stylesheet version="1.0"

xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:output method="xml" encoding="ISO-8859-1"/>

<xsl:template match="/">

<xsl:copy-of select="*" />

</xsl:template>

</xsl:stylesheet>

iaki_vila
Active Contributor
0 Kudos

HI Naresh,

You can try with the information showed in the page 3 in this document http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/502991a2-45d9-2910-d99f-8aba5d79f...

Regards.

Former Member
0 Kudos

Hi Naresh,

  It starts as text file, but after PI, what is end? XML, txt?

Former Member
0 Kudos

Hello,

In file sender adapter, select file type as text and set ur required encoding and then check?

Thanks

Amit Srivastava