Skip to Content
0
Former Member
Jul 30, 2007 at 06:21 AM

Could I use non UTF-8 encoding in XI

44 Views

I need to send a Big5 (CP950) message to MQ server. I write a Java mapping program to convert UTF-8 to Big5, the following is my code.

new String( strNodeValue.getBytes("Big5"), "UTF-8") );

I can use this program to convert files (not in XI, I user java application to test my program). The original UTF-8 file and target BIg5 file are ok. But when I test it in XI environment, although the output file encoding is Big5, but the characters become "??????"

How could I convert UTF-8 characters to Big5 in XI ?