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 » En dash on AIX

Post new topic  Reply to topic
 En dash on AIX « View previous topic :: View next topic » 
Author Message
mlafleur
PostPosted: Thu Jul 03, 2008 12:43 pm    Post subject: En dash on AIX Reply with quote

Acolyte

Joined: 19 Feb 2004
Posts: 73

The message flow receives an XML message (UTF- containing an en dash character
<REGION_NAME>W – West</REGION_NAME>

Previously I was receiving an uncovertable character error which was fixed by setting the CCSID to 1208
SET OutputRoot.Properties.CodedCharSetId = 1208;

after setting this when the message is written to a queue it appears as
<REGION_NAME>W – West</REGION_NAME>

The en dash has now become
HEX value, E28093

I know the en dash is not a valid character in ISO-8859-1 which is the default AIX (code page 819)

Has the meaning of the original XML been lost and what can be done about this?
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Jul 03, 2008 2:40 pm    Post subject: Re: En dash on AIX Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

mlafleur wrote:
The message flow receives an XML message (UTF- containing an en dash character
<REGION_NAME>W – West</REGION_NAME>

Previously I was receiving an uncovertable character error which was fixed by setting the CCSID to 1208
SET OutputRoot.Properties.CodedCharSetId = 1208;

after setting this when the message is written to a queue it appears as
<REGION_NAME>W – West</REGION_NAME>

The en dash has now become
HEX value, E28093

I know the en dash is not a valid character in ISO-8859-1 which is the default AIX (code page 819)

Has the meaning of the original XML been lost and what can be done about this?

Again, what do you use to look at the message on the queue. Do not be fooled by the display... you might want to look at the hex values. Some utilities (rfhutil ih03) will retrieve the message correctly in UTF-8 but are not capable of displaying it in UTF-8. So look at the hex values, all should be well.

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » En dash on AIX
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.