cancel
Showing results for 
Search instead for 
Did you mean: 

Changing the Encoding of my output message

Former Member
0 Kudos

Dear experts,

I am sending out message via mail which need to be in windows-1250 encoding, and not utf-8.

Therefore, I have used the following mapping (final one in Interface Mapping, four in total). I got this code from the XI Forum here:


<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" encoding="windows-1250"/>
<xsl:template match="/">
<xsl:copy-of select="*" />
</xsl:template>
</xsl:stylesheet>

As a result I get this in MONI:

During the application mapping com/sap/xi/tf/_XXX_ a com.sap.aii.utilxi.misc.api.BaseRuntimeException was thrown: Fatal Error: com.sap.engine.lib.xml.parser.Parser~

Can anyone help with this?

Or suggest another way to do windows-1250 encoding, as the XMLanonymizer does not support windows-1250 also...

Looking forward to suggestions.

Thanks

Accepted Solutions (0)

Answers (1)

Answers (1)

stefan_grube
Active Contributor
0 Kudos

I think the declaration is not correct (no matter if XSLT or the AnonymizerBean). Check win-1250 or win1250 instead.

Regards

Stefan