Customer send text file by AS2, but PI can't parse Chinese characters.
I wrote some Java code, find out the text file is GB2312.
I have tried very hard to parse the text file with modules, but failed
AF_Modules/TextCodepageConversionBean
AF_Modules/MessageTransformBean
I convert the file to UTF-8 and PI can parse it.
But the customer don't want to use UTF-8 format.ðŸ˜
Do I have to write a module?
thanks
add localejbs/AF_Modules/TextCodepageConversionBean, no luck.
Hi Shen,
Please check the below blog, it might help
Hello Shen,
Try this encoding-GB18030 in the module beans
Hi Shen,
You need a java mapping or adapter module to convert it to a format so that it can be further used in message mapping. In case you are going for java mapping do not use an FCC, use dummy SI.
Regards
Anupam
Internally, SAP PI always use UTF-8, so your customer has to accept this. After processing the file, you can transform it back to GB2312 or any other useful codepage.
Add a comment