on 10-02-2015 3:48 PM
Dear All,
Thanks for your great support.
Actually I tried for Chinese characters and source code page file, Sender file adapter channel is already set to UTF-8. The actually conversion is happening at Mapping level where we used java mapping.
More over code is perfectly working in NWDS and the same is not working at mapping level after importing jars into PI system.
We got the solution with the way jars being created by setting the option as OTHERS : UTF-8 in the Runconfigurations-> common tab in NWDS and then extracted the jars Seems these configurations also saved in some class file of the jars and then imported into PI. Now working perfectly fine
Special thanks to Stephen & Raghuraman for your kind support.
Cheers,
Raj.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Raghuraman,
I have tried with module configuration as stated above in receiver IDoc channle, but still actual language text is not coming and some junk text is coming inspite of actual language, checked in target systems too.
Stefan,
Yes, that true PI treats with urf-8 only.
For us, Sender File channel is using module configurations plain2XML and content type is utf-8 itself. When we checked the payload source payload having actual foreign language and target payload is not getting that foreign language.
In ESR, we are using 2 message mappings. 1. Java code., 2. one to one mapping.
Mapping is working fine, but issue is only with language conversion.
Cheers,
Raj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
When your source message is not UTF-8, then set the correct source code page value to the sender file adapter channel. This is the correct and only way to handle this. And before you start wild guessings: Ask your project lead or project members for the code page of the file. In my experience, files are mostly cp1252 (Windows latin 1)
When you want to change the encoding of the file content to UTF-8, you have to do it in the file adapter channel. As PI works internally always with UTF-8, there is no need to do anything special for the Idoc adapter.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Raj,
Try this
AF_Modules/TextCodepageConversionBean Local Enterprise Bean Convert
Convert Conversion.charset utf-8
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.