cancel
Showing results for 
Search instead for 
Did you mean: 

file in ANSI format

former_member745782
Active Participant
0 Kudos

hello everybody,

In my XI 3.0 i have a IDOC to FTP interface.

My customer asked me to have file in ANSI format. At the moment i use UTF-16 encoding, so it's Unicode.

I tried to use a script for change format after save the file, but this don't work.

Does someone have a idea for solve this problem?

thanks id advance

Alessandro

Accepted Solutions (0)

Answers (2)

Answers (2)

kenny_scott
Contributor
0 Kudos

Hi Alessandro,

try using UTF-8 encoding in the FTP Receiver Adapter. If the file doesn't have a BOM (which I assume it won't as it originated as an IDoc) then the Receiver file system will identify it as an ANSI file.

Regards

Kenny

deepak_shah
Contributor
0 Kudos

Hi,

please select appropriate encoding type in receiver file channel.

I think  you will need to use ISO-8859-1 as encoding type.

Supported encoding types can be found in link below:

http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm

Regards,

Deepak

former_member745782
Active Participant
0 Kudos

hi!

I tried to use this encoding but with this solution i lost most part of special characters like this:

ý  ř í š ž

baskar_gopalakrishnan2
Active Contributor
0 Kudos

I would recommend you to handle through script at the file system level after ftp process.

Sample link

http://www.linuxquestions.org/questions/programming-9/convert-file-from-utf8-to-ascii-encoding-45883...

Former Member
0 Kudos

Hi Alex,

It seems to me like the characters you are in need of is located in ISO-8859-2 (Central European) encoding. It should be possible for you to use this encoding in the file channel instead of ISO-8859-1 (Western European). Also see full reference to ISO-8859-x.

Good I hate text encoding!

Best regards,

Jacob

Former Member
0 Kudos

try to use cp1252 encoding in receiver file channel....

GabrielSagaya
Active Contributor
0 Kudos

You can use CP1257 Encoding in your receiver CC as per the below link

http://gluescript.sourceforge.net/files/pdfdemo/encodinglist.pdf

former_member745782
Active Participant
0 Kudos

when i use encoding ISO-8859 or ISO-8859-2 i lost some special characters like

ý  ř í š ž