开发者

jpos : cannot find control data "0x0D" when using isoMsg.getString(id) method

Some field value contains 0x0D specail character The value from the hexdump:

4041000000000001D0534534534112342340000

But when I get the field value using isoMsg.getString(field_id), I got an equal sign instead of the 0x0D character

4041000000000001=0534534534112342340000

Is there any method to return the valu开发者_如何转开发e as is without changing any control character data ?


jPOS converts the 'D' into '=' on BCD fields using ISOUtil.bcd2str method.

This is useful to deal with track2 data.

You can easily replace it back.


Something's not right. You're looking at this:

4041000000000001D0534534534112342340000

This is 39 characters, or 19.5 bytes. Is this your issue?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜