Skip to Content
avatar image
Former Member

Transform file in ANSI format using SFTP

Hi All,

We are using SFTP and are required to convert the file to ANSI format and do a PGP encryption. The third receives the file in ANSI format decrypts it and it should remain ANSI.

We are using below in the Module parameter:

Module Key - Encode

Parameter Name - Transform.ContentType

Parameter Value - text/plain;charset=ISO-8859-1

When the source contains special characters like "é", then the SFTP module converting file into utf-8.

Please help to let me know how can we can handle such special characters.

Thanks,

Vinod

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Jan 20, 2014 at 08:15 PM

    Hi Vinod - As it is not part of the charset ISO-8859-1, PI converts into UTF-8.

    May be you can remove special char and set the encoding using a java mapping.

    Check the below blog for the java code

    http://scn.sap.com/docs/DOC-46151

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 22, 2015 at 02:44 PM

    Hello Vinod ,

    Can you please check the note 1906648  and try setting the File Encoding to the one you need.

    Regards,

    Malini

    Add comment
    10|10000 characters needed characters exceeded