How to get Chinese characters in wM 6.0.1

Dear Friends,

Good day.
We have received IDOC XML(with UAT-8) from SAP with Chines characters, when I convert the BizDocContentPart\Bytes to Strings with UTF-8 encoding, I am getting below characters instead of Chinese characters.
这是一个ä¸*æ *文测试文本</

My testing steps:
1. getContentPart
2. bytesToString
3. savePipelineToFile (with .xml file)
4. Open the xml file in IE
5. I suppose to see the chines characters in IE, but I got above characters.

Please update me if anything wrong on above steps and advise me how to get the Chines characters. Appreciate your earliest replay. thanks

Regards
Surendar.

It is possible that SAP is using an encoding other than UTF-8. Check with that team to find out and use that in the bytesToString call.

[FONT=Calibri]Dear Reamon,

Thanks for your valuable advice. I will check with the SAP team and keep you updated.[/FONT]

Hi Reamon,

As checked, SAP is sending the IDOC with UTF-8 only. we are using the JVM1.3
Please see the attached screenshot of TN Content of IDOC and advice what went wrong. thank you very much

How does the doc content look in TN console?

Hi Reamon,

Good day.
Please click the below link to view the screenshot of TN console.

[URL]http://www.flickr.com/photos/71220513@N02/6439953115/sizes/l/in/photostream/[/URL]

Actual IDOC with chinese chars:

<PREQ_NO>1000001172</PREQ_NO>
<PREQ_ITEM>1</PREQ_ITEM>
<TEXT_ID>B01</TEXT_ID>
<TEXT_FORM></TEXT_FORM>
<TEXT_LINE>Item Text field 简体中文测试</TEXT_LINE>

<TEXT_NAME>Item text (P)</TEXT_NAME>
B01



<PREQ_NO>1000001172</PREQ_NO>
<PREQ_ITEM>1</PREQ_ITEM>
<TEXT_ID>B05</TEXT_ID>
<TEXT_FORM>
</TEXT_FORM>
<TEXT_LINE>testing for 简体中文测试</TEXT_LINE>

<TEXT_NAME>Justification for Purchase (P)</TEXT_NAME>
B05


Seems the version saved in TN DB has wrong encoding already. You need to check the handling service that receive doc from SAP and before saving it to TN.