Dear experts,
Here is the scenario, XML FILE ->XI-> JMS
In JMS recevier side, we use localejbs/AF_Modules/MessageTransformBean to convert xml to flat file.
Transform.Class: com.sap.aii.messaging.adapter.Conversion
Transform.ContentType: text/plain;charset=utf-8
xml.conversionType: SimpleXML2Plain
xml.fieldFixedLengths: 5,20,5,8
When input source xml file contents are non-unicode, it works fine.
But when the contents contain unicode characters such as Chinese word, it works but with wrong length in the output flat file. It seems xi treat one Chinese word length is 1. Actually, one chinese word should take 2 bytes.
My question is how to make XI handle unicode characters with correct lengths while conversing to flat file.
Thanks in advance.