cancel
Showing results for 
Search instead for 
Did you mean: 

File conversion from UTF-8 to ANSI for large files using SFTP Adapter

Former Member
0 Kudos

Hi All,

We 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.

What we are achieving is we are able to convert files till 18KB to ANSI format, but larger files are not getting converted to ANSI format. The output is UTF-8 for larger files.

We are using below in the Module parameter:

Module Key - Encode

Parameter Name - Transform.ContentType

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

Please help to let me know how can large files be converted to ANSI.

Thanks

Vimal

Accepted Solutions (0)

Answers (3)

Answers (3)

ng82si
Participant
0 Kudos

Hi vimal,

have you resolved your problem?

I have a similar one now.

pls help!

Thanks and Regards

Christine

gagandeep_batra
Active Contributor
0 Kudos

Hi Vimal,

If you are on Windows OS you can check with file encoding = cp1252.

& there are some ANSI character that are not present in ISO-8859-1

Differences between ANSI, ISO-8859-1 and MacRoman character sets

http://www.alanwood.net/demos/ansi.html

Regards

GB

Former Member
0 Kudos

Hi Vimal,

Check for any special character in source message which are not supported by not supported by ANSI. Due to that PI converts the file into ANSI’s super class utf-8.

Hope this helps,

Vinod