cancel
Showing results for 
Search instead for 
Did you mean: 

File Encoding type to be changed to ANSI

former_member188885
Active Participant
0 Kudos

Hi Experts,

i have a proxy to File sceanrio. At present an xml file is dropped into the FTP with encoding type as UTF-8. But now the client wants the same xml file with encoding type as ANSI. Can anyone please tell me how this can be done.

I did go through few blogs which mentioned about the XMLAnonymizerBean. For this module can be added directly right?Is that the only way this can be done?

Thanks in advance,

Lavanya R

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi, please have a look at

Regard, Martin

Answers (1)

Answers (1)

Bhargavakrishna
Active Contributor
0 Kudos

Hi,

Which Protocol your using in file adapter, NFS/FTP?

If it is FTP, set transfer mode=text and file type=text. and write ANSI in the file encoding parameter. Ftp server will translate the file in ANSI.

OR

you can use following parameters:

CP1252

ISO8859-1

Refer below links

http://en.wikipedia.org/wiki/Windows_code_page

Give the code in receiver communication channel as per the above link..

http://scn.sap.com/thread/1795481

http://scn.sap.com/community/pi-and-soa-middleware/blog/2012/04/27/receiver-channel-encoding-in-ansi...

http://en.wikipedia.org/wiki/ISO/IEC_8859-1

Hope it will helpful..

Regards

Bhargava krishna