cancel
Showing results for 
Search instead for 
Did you mean: 

File Adapter receiver channel : change encoding attribut in xml file

Former Member
0 Kudos

Hi,

How can I change the XML encoding attribut

from:

<?xml version="1.0" encoding="UFT-8"?>

to:

<?xml version="1.0" encoding="ISO-8859-1"?>

in my File Adapter, receiver channel ?

Accepted Solutions (1)

Accepted Solutions (1)

MichalKrawczyk
Active Contributor
0 Kudos

Hi Frank,

you can do it with XSLT mapping (the easiest way)

or with java or abap mappings

or you can try XMLAnonymizerBean :

anonymizer.encoding

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

Regards,

michal

-


<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

Former Member
0 Kudos

Hi Michal,

The XMLAnonymizerBean did the trick

Thanx...

MichalKrawczyk
Active Contributor
0 Kudos

no problem

glad it worked

Regards,

michal

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

plz chk the following link:

http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm

&#9679; Select the File Type of the document:

&#9675; Binary

&#9675; Text

Under File Encoding, specify a code page.

The default setting is to use the system code page that is specific to the configuration of the installed operating system.

The content of the message is converted to the corresponding code page before the message is saved as a file.

Permitted values for the code page are the existing Charsets of the Java runtime. According to the SUN specification for the Java runtime, at least the following standard character sets must be supported:

Regards