Posted: Tue May 16, 2006 10:49 pm Post subject: Corrupted chars
Acolyte
Joined: 14 Feb 2006 Posts: 63
Hello!
We send a TextMessage from Weblogic 8.1 (over a Messaging bridge in WL) to a Queue at MQ. The messages at the queue is later consumed from a app at WebSphere.
The text is in fact a XML-structure. Unfortunately it may contain swidish signs like [code]åäö[/code]. These chars is corrupted when the message is processed at WebSphere.
Some where along the way the chars get corrupted. Unfortunately I can not say exactly where the corruption takes place, but I guess it is at MQ.
So now is my question if any one got some hints how to solve this.
Posted: Wed May 17, 2006 11:23 am Post subject: Perhaps a clue!!!
Acolyte
Joined: 14 Feb 2006 Posts: 63
Hello!
Hopefully this is some clues.
The text inside the message is a xml-string. The xml got this encoding:
<?xml version="1.0" encoding="UTF-8"?>
or we have also tried with
<?xml version="1.0" encoding="ISO-8859-1"?>
Acctually we do not think thiss matters since this is "folded" inside a JMS TextMessage.
We have there for also set this (both utf-8 and iso-8859-1) on the protocol iiop at the server inside WebLogic.
When the message is send we write the xml to file and everything looks fine:
SalesItemLegacyId="ÅÄÖåäöÅÄÖ"
Hopefully you are able to se the chars, in case I have html-encode them like:
ÅÄÖ
How ever when the message reach MQ it looks like and we browse the queue the messsage looks like:
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum