Author |
Message
|
swethabala |
Posted: Fri Jan 06, 2012 6:18 am Post subject: unable to process "Γ" character |
|
|
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 |
|
 |
Vitor |
Posted: Fri Jan 06, 2012 6:30 am Post subject: Re: unable to process "Γ" character |
|
|
 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 |
|
 |
swethabala |
Posted: Fri Jan 06, 2012 6:35 am Post subject: |
|
|
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 |
|
 |
smdavies99 |
Posted: Fri Jan 06, 2012 6:37 am Post subject: Re: unable to process "Γ" character |
|
|
 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 |
|
 |
cociu_2012 |
Posted: Fri Jan 06, 2012 6:46 am Post subject: Re: unable to process "Γ" character |
|
|
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 |
|
 |
Vitor |
Posted: Fri Jan 06, 2012 6:53 am Post subject: Re: unable to process "Γ" character |
|
|
 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 |
|
 |
fjb_saper |
Posted: Fri Jan 06, 2012 7:31 am Post subject: Re: unable to process "Γ" character |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 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 |
|
 |
cociu_2012 |
Posted: Fri Jan 06, 2012 8:00 am Post subject: Re: unable to process "Γ" character |
|
|
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.
Γ for Г (Greek gamma)
Ѓ for Г (Russian G). |
|
Back to top |
|
 |
swethabala |
Posted: Mon Jan 09, 2012 4:18 am Post subject: |
|
|
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 |
|
 |
smdavies99 |
Posted: Mon Jan 09, 2012 4:32 am Post subject: |
|
|
 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 |
|
 |
swethabala |
Posted: Mon Jan 09, 2012 4:36 am Post subject: |
|
|
Apprentice
Joined: 25 Aug 2009 Posts: 44
|
|
Back to top |
|
 |
smdavies99 |
Posted: Mon Jan 09, 2012 5:00 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
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 |
|
 |
kimbert |
Posted: Mon Jan 09, 2012 5:12 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
|
Back to top |
|
 |
rekarm01 |
Posted: Tue Jan 10, 2012 2:28 am Post subject: Re: unable to process "Γ" character |
|
|
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 |
|
 |
|