on 2015 Dec 29 1:37 PM
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Shen,
Try this encoding-GB18030 in the module beans
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shen,
Please check the below blog, it might help
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
59 | |
11 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.