posted 14 years ago
Here is my code...
===============================================
===============================================
===============================================
When endofElement of 'ChineseName' is detected, write record to AS400 physical file.
=========================================
However, the chinese character cannot be written to the file successfully. Hex '3F3F3F' is written instead. When I try to print the value of chineseNameTagVal, '???' is shown in the console....
Could anyone help me? Thanks. I found some hints in the internet, seems need to use the classes of ByteArrayOutputStream & OutputStreamWriter to do some conversion? But I have no idea on how to use these classes....thank you so much!