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 » Replace Diacritic with non-diacritic characters

Post new topic  Reply to topic
 Replace Diacritic with non-diacritic characters « View previous topic :: View next topic » 
Author Message
pascalzelen
PostPosted: Fri Jan 16, 2009 3:36 am    Post subject: Replace Diacritic with non-diacritic characters Reply with quote

Newbie

Joined: 16 Jan 2009
Posts: 3

Hi there,

I have to build a Message Broker flow that reads an xml message from a queue and replaces the diacritic characters in the message with non-diacritic ones (so replace é with e, ö with o, etcetera).What's the easiest way to do this? Hope someone can help me with this.

Regards,

Pascal
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Jan 16, 2009 3:51 am    Post subject: Reply with quote

Grand High Poobah

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

You could create a char set map that allows for that kind of mapping say from char set 1200 to whatever you define and then back....

So with one cast you eliminate the diatric chars and with the cast back you have your text in the original without the diatric chars. Or create some kind of java function that does that for you as well... Might be easier to handle as a Java function... Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
pascalzelen
PostPosted: Fri Jan 16, 2009 5:08 am    Post subject: Reply with quote

Newbie

Joined: 16 Jan 2009
Posts: 3

Thanks for your answer, but how and where can I define such a character set map? Is it like creating your own CCSID and then do something (in ESQL) like: CAST(InputRoot.XMLNSC AS CHARACTER CCSID ...)?
Back to top
View user's profile Send private message
mqjeff
PostPosted: Fri Jan 16, 2009 5:22 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

No, don't do that.

Just use OVERLAY or whichever of the other String functions is the right one for this situation.
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 » Replace Diacritic with non-diacritic 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.