Convert String from EBCDIC to Unicode / UTF8

前端 未结 2 1304
情书的邮戳
情书的邮戳 2021-01-22 04:21

I\'m able to send messages from Java to Websphere MQ on AS400. If I send messages from WinXP, there is no difference if I use

2条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-22 05:07

     gmo.options = MQC.MQGMO_NO_SYNCPOINT; //Set no sync point
     gmo.options = MQC.MQGMO_CONVERT; //Handles ASCII/EBCDIC
     gmo.options = MQC.MQGMO_WAIT; //Wait until message arrives
    

    this code is wrong, you are overwriting the option, you need | them.

提交回复
热议问题