|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Java to C |
« View previous topic :: View next topic » |
Author |
Message
|
d |
Posted: Wed Jun 12, 2002 12:18 am Post subject: Java to C |
|
|
Apprentice
Joined: 24 May 2002 Posts: 25
|
Hi,
I have a small doubt to be cleared.
If I have a java program which puts messages on a queue and the messages are retrieved by a C program, will the data read be the same as that was put by the java pgm, or is any explicit conversion required ???
Thanks in advance,
d |
|
Back to top |
|
 |
mrlinux |
Posted: Wed Jun 12, 2002 3:34 am Post subject: |
|
|
 Grand Master
Joined: 14 Feb 2002 Posts: 1261 Location: Detroit,MI USA
|
No Coversion will be necessary if your java program writes UTF8 chars instead of the unicode chars. _________________ Jeff
IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries |
|
Back to top |
|
 |
nimconsult |
Posted: Thu Jun 13, 2002 2:33 am Post subject: |
|
|
 Master
Joined: 22 May 2002 Posts: 268 Location: NIMCONSULT - Belgium
|
Java will write messages using code page 819. It is hard-coded and cannot be changed. If you are working with a non-CP 819 server then you are advised to add the option MQGMO_CONVERT when doing your MQGET (this is good programing practice anyway).
Regards, _________________ Nicolas Maréchal
Senior Architect - Partner
NIMCONSULT Software Architecture Services (Belgium)
http://www.nimconsult.be |
|
Back to top |
|
 |
d |
Posted: Wed Jun 19, 2002 6:14 am Post subject: |
|
|
Apprentice
Joined: 24 May 2002 Posts: 25
|
Thank you....
Thats what I have done.....But wanted to be doubly sure....
regards,
Deepa |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|