|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
To remove all EBCDIC chaaracters from the message |
« View previous topic :: View next topic » |
Author |
Message
|
kimbert |
Posted: Wed May 09, 2012 2:51 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
Quote: |
That's more than likely little-endian (0x8000 = U+0080 = <XXX>). See also the last two bytes of the XML message (0x3e00 = U+003e = '>'). |
Well spotted - that's the most likely explanation.
And I agree with your other point as well - there is no shortcut here. The problem needs to be understood before a fix can be made. |
|
Back to top |
|
 |
limal_raja |
Posted: Wed May 09, 2012 8:02 am Post subject: |
|
|
Novice
Joined: 11 Nov 2009 Posts: 19
|
Tried everything possible(CCSID t0 1208, setting UTF - , but the issue still persists:
Code: |
For character ' ¨ ':
See the following messages for details of the error.
ParserException BIP5010E: XML Writing Errors have occurred.
Errors have occurred during writing of XML.
Review further error messages for an indication to the cause of the errors.
RecoverableException BIP2136E: Source character ''a800'' in field ''3c002f0059006500610072003e003c002f0045006........0072003e003200300031003100'' cannot be converted from unicode to codepage '437'.
The source character is an invalid code point within the given codepage. |
Code: |
For character ' ¦ ':
See the following messages for details of the error.
ParserException BIP5010E: XML Writing Errors have occurred.
Errors have occurred during writing of XML.
Review further error messages for an indication to the cause of the errors.
RecoverableException BIP2136E: Source character ''a600'' in field ''3c002f0059006500610072003e003c002f0045006........0072003e003200300031003100'' cannot be converted from unicode to codepage '437'.
The source character is an invalid code point within the given codepage. |
and the list goes on... |
|
Back to top |
|
 |
Vitor |
Posted: Wed May 09, 2012 8:19 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
limal_raja wrote: |
Tried everything possible(CCSID t0 1208, setting UTF - , but the issue still persists: |
Thrashing round and/or sequence dialing through various options in the hope of hitting the "magic" one is not going to help.
You need to understand what's happening and what's supposed to happen before you can fix this. For instance, if you've really set CCSID to 1208, why does the error clearly state the problem is because WMB is trying to write into 437?
Don't just randomly change stuff. Think, consider, plan.
Or add more and more REPLACE statements every time this happens. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
kimbert |
Posted: Wed May 09, 2012 8:20 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
Read the error message:
Quote: |
Source character...cannot be converted from unicode to codepage '437'. |
It is quite clear that one of your message flows is attempting to write an XML document in ccsid 437. 437 is not the same as 1208.
I don't know where you are setting the value '1208' but I do know this: you will never get a message that says: "Source character...cannot be converted from unicode to codepage 1208'"
If you do not understand why, then please read this excellent article: http://www.joelonsoftware.com/articles/Unicode.html
After that, I suggest that you analyse your message flow(s) in detail and make sure that you understand what is happening to the bytes/characters at each stage. |
|
Back to top |
|
 |
limal_raja |
Posted: Wed May 09, 2012 9:33 am Post subject: |
|
|
Novice
Joined: 11 Nov 2009 Posts: 19
|
Thanks Vitor and kimbert. We found the issue. We had to do the setting of UTF-8 and ccsid in both our response flows and aggregate response flows and now it works. Many thanks for the help. |
|
Back to top |
|
 |
|
|
|
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
|
|
|
|