ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Canot convert special characters

Post new topic  Reply to topic
 Canot convert special characters « View previous topic :: View next topic » 
Author Message
MiLi
PostPosted: Mon Oct 24, 2005 1:47 am    Post subject: Canot convert special characters Reply with quote

Acolyte

Joined: 07 Oct 2005
Posts: 51

Im trying to get a message to be converted to 7-bit html ascii (In the message broker).
I want to the xml
Quote:
<message>Ã¥<message>
to be converted to
Quote:
<message>&aring;<message>


or what I realy want is to get the whole message to be convered to a string including the '>' and '<' char to be converted.

I use the code
Code:
Set OutputRoot.XML.message.CCSDI_367 = CAST(BITSTREAM(InputBody) AS CHAR CCSID 367);


the '<' and '>' get connverted just fine but not 'Ã¥'

Is there a problem with my ccsid, I have tried other without success?
Back to top
View user's profile Send private message
elvis_gn
PostPosted: Mon Oct 24, 2005 2:23 am    Post subject: Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

What happens to the "Ã¥", i mean how can u say that it is not encoded....

Are you using rfhutil.....what does the Ebcdic view show ??

What are the CCSID's u've tried.....
Back to top
View user's profile Send private message Send e-mail
MiLi
PostPosted: Mon Oct 24, 2005 6:02 am    Post subject: well Reply with quote

Acolyte

Joined: 07 Oct 2005
Posts: 51

I send the message with ccsid 819 so 'Ã¥' is represented with HEX: E5

Then I set ccsid to 367 in the Message Broker.
when I open the message in rfhutil I can se that 'Ã¥' has been replaced with '.' HEX 1A.

I know that this is probably right, but is there any way to get broker to use ISO 8859-1 Symbol Entities:
http://www.w3schools.com/tags/ref_entities.asp


Has this anything to do with ccsid or is there any other way?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Canot convert special characters
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.