|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
0D getting converted to 0A |
« View previous topic :: View next topic » |
Author |
Message
|
shalabh1976 |
Posted: Wed Jan 04, 2006 2:34 am Post subject: |
|
|
 Partisan
Joined: 18 Jul 2002 Posts: 381 Location: Gurgaon, India
|
Thanks for the suggestion.
I had already implemented code similar to what has been specified in http://www.mqseries.net/phpBB2/viewtopic.php?t=7809
The only problem here is that if the original message contains any X'0A' they would also be converted to X'0D'. _________________ Shalabh
IBM Cert. WMB V6.0
IBM Cert. MQ V5.3 App. Prog.
IBM Cert. DB2 9 DB Associate |
|
Back to top |
|
 |
kimbert |
Posted: Wed Jan 04, 2006 3:04 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5543 Location: Southampton
|
Well, since x0A is a linefeed, and you seem to be dealing with a platform which always terminates lines with x0D0A, that sounds like a fairly unlikely situation. Why would a linefeed character appear on its own?
All the same, I don't blame you for being uncomfortable with the whole situation. Alternative solutions:
- make the originating application encode the entire text field in base64
- stop using XML as your message format.
- change the receiving application so that it does not care about the linefeed style |
|
Back to top |
|
 |
elvis_gn |
Posted: Wed Jan 04, 2006 3:13 am Post subject: |
|
|
 Padawan
Joined: 08 Oct 2004 Posts: 1905 Location: Dubai
|
Or if it is still early days,
Make the Address into Address1, Street, City etc etc.....
This is the kind of tagged address structure that I have found in most Projects.
Regards. |
|
Back to top |
|
 |
shalabh1976 |
Posted: Wed Jan 04, 2006 3:58 am Post subject: |
|
|
 Partisan
Joined: 18 Jul 2002 Posts: 381 Location: Gurgaon, India
|
Waiting for client's response.
Thanks for all your help. _________________ Shalabh
IBM Cert. WMB V6.0
IBM Cert. MQ V5.3 App. Prog.
IBM Cert. DB2 9 DB Associate |
|
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
|
|
|
|