cancel
Showing results for 
Search instead for 
Did you mean: 

Change encoding when ECC proxy sends out message to XI/PI

Former Member
0 Kudos

Hi all,

as you know XI adapter / proxy sends out messages in XML format. I found that all the messages are sent out with etf-8 as encoding:

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

This is not true, as the xml document could contain text of different language, thus when I map the message in PI using java program, it will throw exception that invalid character contained in the xml. So how we influence the proxy engine which encoding to use (or which encoding should be put in the xml header) when sending message out from the backend (ECC)? I've found no way to do that, hope somebody here has any clue.

Thanks

Jayson

Accepted Solutions (0)

Answers (1)

Answers (1)

stefan_grube
Active Contributor
0 Kudos

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

>

> This is not true, as the xml document could contain text of different language, thus when I map the message in PI using java program, it will throw exception that invalid character contained in the xml.

UTF-8 covers any language in the world. UTF-8 is also standard for Java programming.

I assume that the cause of the error in your Java program is not UTF-8.

Regards

Stefan