cancel
Showing results for 
Search instead for 
Did you mean: 

Encoding problem

Former Member
0 Kudos

Hi guys,

we have a sender jms comm channel, our transport protocol is 'access jms provider with jndi'.

We are reading an XML message. When the character 'ñ' appears in the payload is not encoded correctly.

In XML header appears that the encoding style is iso-8859-1.

We have tried with this parameters:

JMS.TextMessage.charset = ISO-8859-1

JMS.XIMessage.charset = ISO-8859-1

and modules

AF_Modules/XMLAnonymizerBean -> anonymizer.encoding = ISO-8859-1

AF_Modules/TextCodepageConversionBean -> Conversion.charset= ISO-8859-1

But without success.

Can anyone help us to encode it correctly?

Thanks in advance!

Ignasi

Accepted Solutions (0)

Answers (2)

Answers (2)

stefan_grube
Active Contributor
0 Kudos

before you do try and error again, please verify following:

1. what is the hex code of the 'ñ' before you put it in JMS queue

2. what is the same in PI monitor?

Is this a message generated by a system or a test message?

Former Member
0 Kudos

hi Stefan

i don't have acces to source system, the message is generated by system

Any help?

stefan_grube
Active Contributor
0 Kudos

And the hex value of the message in SXMB_MONI?

Former Member
0 Kudos

> Hi guys,

>

> we have a sender jms comm channel, our transport protocol is 'access jms provider with jndi'.

>

> We are reading an XML message. When the character 'ñ' appears in the payload is not encoded correctly.

>

> In XML header appears that the encoding style is iso-8859-1.

>

> We have tried with this parameters:

>

> JMS.TextMessage.charset = ISO-8859-1

> JMS.XIMessage.charset = ISO-8859-1

> and modules

> AF_Modules/XMLAnonymizerBean -> anonymizer.encoding = ISO-8859-1

> AF_Modules/TextCodepageConversionBean -> Conversion.charset= ISO-8859-1

>

> But without success.

>

> Can anyone help us to encode it correctly?

>

> Thanks in advance!

> Ignasi

I had the same problem in a past project, but without a solution using easy adapter set up.

Former Member
0 Kudos

Thank you for your reply,

Would it be possible to explain in general terms how did you solved the problem?

Thank you!