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 » unable to process "Γ" character

Post new topic  Reply to topic
 unable to process "Γ" character « View previous topic :: View next topic » 
Author Message
swethabala
PostPosted: Fri Jan 06, 2012 6:18 am    Post subject: unable to process "Γ" character Reply with quote

Apprentice

Joined: 25 Aug 2009
Posts: 44

Hi,

We have a scenario where special characters are expected in payload. To process them we are using CCSID 819. This is processing many special characters but not "Γ". This is gamma symbol

Could you please advice which codedCharSetID we should use to pass "Γ" also in the data?

Thanks in advance

Swetha
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Jan 06, 2012 6:30 am    Post subject: Re: unable to process "Γ" character Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

swethabala wrote:
We have a scenario where special characters are expected in payload. To process them we are using CCSID 819.


Not if you're using broker. All processing within WMB is in Unicode.

swethabala wrote:
Could you please advice which codedCharSetID we should use to pass "Γ" also in the data?


If you're trying to pass this value out of WMB after processing, then you need to use any CCSID which contains this symbol (I'm taking your word for the fact 819 doesn't). I'd recommend asking the application consuming your output what CCSID they're using as a first move, as clearly they're handling this symbol.

Or output in Unicode.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
swethabala
PostPosted: Fri Jan 06, 2012 6:35 am    Post subject: Reply with quote

Apprentice

Joined: 25 Aug 2009
Posts: 44

Thanks Vitor,

I will check with the client team and post if I face any issues.
Back to top
View user's profile Send private message
smdavies99
PostPosted: Fri Jan 06, 2012 6:37 am    Post subject: Re: unable to process "Γ" character Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

Vitor wrote:


Or output in Unicode.


Or any of the recognised variants of UTF

(Unicode <> UTF)
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
cociu_2012
PostPosted: Fri Jan 06, 2012 6:46 am    Post subject: Re: unable to process "&#915;" character Reply with quote

Acolyte

Joined: 06 Jan 2012
Posts: 72

swethabala wrote:
Hi,

We have a scenario where special characters are expected in payload. To process them we are using CCSID 819. This is processing many special characters but not "Γ". This is gamma symbol

Could you please advice which codedCharSetID we should use to pass "Γ" also in the data?

Thanks in advance

Swetha


Hello,

I am using
Code:
SET OutputRoot.Properties.CodedCharSetId = 1208;
    SET OutputRoot.Properties.Encoding = 273;


for Russian language. It might help you, as this "Γ" looks like an G in Russian.
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Jan 06, 2012 6:53 am    Post subject: Re: unable to process "&#915;" character Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

cociu_2012 wrote:
I am using
Code:
SET OutputRoot.Properties.CodedCharSetId = 1208;
    SET OutputRoot.Properties.Encoding = 273;


Been there, advised that.

cociu_2012 wrote:
It might help you, as this "Γ" looks like an G in Russian.


Only if the document's being interpreted by a human with poor quality reading glasses
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Jan 06, 2012 7:31 am    Post subject: Re: unable to process "&#915;" character Reply with quote

Grand High Poobah

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

Vitor wrote:
cociu_2012 wrote:
It might help you, as this "Γ" looks like an G in Russian.


Only if the document's being interpreted by a human with poor quality reading glasses


Not quite. I believe he is referring to the Cyrillic representation of the G character...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
cociu_2012
PostPosted: Fri Jan 06, 2012 8:00 am    Post subject: Re: unable to process "&#915;" character Reply with quote

Acolyte

Joined: 06 Jan 2012
Posts: 72

fjb_saper wrote:


Not quite. I believe he is referring to the Cyrillic representation of the G character...


Yes, I referred to that. I looked a bit, and the letters are not encoded the same. Even if the Russian Cyrillic Г is from Greek letter gamma, the encoding is different.

&#915 for Г (Greek gamma)
&#1027 for Г (Russian G).
Back to top
View user's profile Send private message
swethabala
PostPosted: Mon Jan 09, 2012 4:18 am    Post subject: Reply with quote

Apprentice

Joined: 25 Aug 2009
Posts: 44

Hi All,

I have received clarification from onshore. They are not sending gamma character now. They would like to send character ’ in place of gamma.

This character ’ is not existing in our keypad. Looks like single quote but its not. I think it is stress mark.

I have checked in google and other sites to find out the CharacterSetID which includes this character ’. But I did not find any.

Could you please help me; how to read this character in WMB.

Thanks
Swetha
Back to top
View user's profile Send private message
smdavies99
PostPosted: Mon Jan 09, 2012 4:32 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

swethabala wrote:


I have checked in google and other sites to find out the CharacterSetID which includes this character ’. But I did not find any.



The people generating the data must know what characterset they are using. Or is it guesswork on their part?

Are you sure it is not UTF-8?

Look Here for some useful information
http://dev.networkerror.org/utf8/?start=900&end=1000&cols=4
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
swethabala
PostPosted: Mon Jan 09, 2012 4:36 am    Post subject: Reply with quote

Apprentice

Joined: 25 Aug 2009
Posts: 44

I am looking for ’ character; not gamma now.

’ is not found in this page. http://dev.networkerror.org/utf8/?start=900&end=1000&cols=4
Back to top
View user's profile Send private message
smdavies99
PostPosted: Mon Jan 09, 2012 5:00 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

swethabala wrote:
I am looking for ’ character; not gamma now.

’ is not found in this page. http://dev.networkerror.org/utf8/?start=900&end=1000&cols=4


How do you know that it is the ' charater you are looking for?
Remember that the same value can represent many different characters.
The characterSet is just a map of a numeric value to a symbol.
So, go back to the people generating the data and find out what CharacterSet they are using.OR THINK THEY ARE USING

Here is a good place to start looking into a lot of Charactersets
[url]
http://www.i18nguy.com/unicode/codepages.html
[/url]
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
kimbert
PostPosted: Mon Jan 09, 2012 5:12 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

You seem to be confused about this whole subject area. I suggest that you stop trying to fix your problem, and spend a couple of hours on some background reading about character sets, Unicode and encodings. Here are some useful links:

1. http://www.joelonsoftware.com/articles/Unicode.html
2. http://unicode.org/standard/WhatIsUnicode.html
3. http://en.wikipedia.org/wiki/Unicode

1. is highly recommended.
Back to top
View user's profile Send private message
rekarm01
PostPosted: Tue Jan 10, 2012 2:28 am    Post subject: Re: unable to process "&#915;" character Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 1415

swethabala wrote:
I have received clarification from onshore. They are not sending gamma character now. They would like to send character ’ in place of gamma.

I have checked in google and other sites to find out the CharacterSetID which includes this character ’. But I did not find any.

The sender picks the ccsid, when writing the message data. It could be UTF-8 (ccsid=1208), Windows Latin-1 (ccsid=1252), Windows Latin-2 (ccsid=1251), or something else; only the sender knows for sure.

swethabala wrote:
Could you please help me; how to read this character in WMB.

The receiver (WMB) must use the same ccsid that the sender picked, when reading the message data.

swethabala wrote:
This character ’ is not existing in our keypad. Looks like single quote but its not. I think it is stress mark.

That's the 'RIGHT SINGLE QUOTATION MARK', (U+2019, decimal 8217).
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 » unable to process "&#915;" character
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.