cancel
Showing results for 
Search instead for 
Did you mean: 

Urgent : Change Encoding type?

Former Member
0 Kudos

Hi.

It's urgent

I wana change encoding type character with capital character.

For reference, receiver file adapter write header like following... but must be changed large character...

(not iso, must be changed "ISO")

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

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

Regards.

Message was edited by: ChangSeop Song

Accepted Solutions (1)

Accepted Solutions (1)

MichalKrawczyk
Active Contributor
0 Kudos

hi,

I suppose you already have a mapping?

so you only want to change the result

to have encoding="ISO-8859-1 right?

you can use XSLT mapping to map

your target xml document to xml document with ISO

this is what you have to use:

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

have a look at my weblog in order to see how you can add sxlt mapping to your adapter (in the modules tab)

/people/michal.krawczyk2/blog/2005/11/01/xi-xml-node-into-a-string-with-graphical-mapping

obviously you can also use java or abap mapping

but XSLT will be the fastest to develop

Regards,

michal

-


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

Former Member
0 Kudos

Hi! Michal

Thanks for your answer.

We are using abap-class mapping program, not XLST.

But In the mapping program, there is not to setting encoding.

At IDOC inbound, I checked encoding is UTF-8.

I don't understand where encoding is changed with ISO-...

For reference, we use trans type='binary' in the file adapter.

Regards.

MichalKrawczyk
Active Contributor
0 Kudos

hi,

do what I proposed with xslt in the reveiver file adapter

modules tab

Regards,

michal

-


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

Answers (0)