cancel
Showing results for 
Search instead for 
Did you mean: 

Receiver File adapter encoding

former_member189558
Contributor
0 Kudos

Hi All ,

My scenario is

ABAP Proxy --> XI -->Flat file.

My receiver is flat file , comma separated to a NFS....

there is a character

ß

in one of the fields of source payload.

When I am using UTF-8 in the receiver channel , this character is displayed in the File (in the Unix box using cat or vi) as



I have tried with the other encoding options.. but unfortunately it is just just displayed as a dark black box for the other options .. just like this ▀ ..

Any Idea on how to solve this.

A note .. in sxmb moni the charater is displayed correctly .. that is

ß

.. both before and after the mapping.... so no problem within the integration server .. but the output file is not created with the correct character.

Thanks and Regards,

Himadri

Message was edited by:

Himadri Chakraborty

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member189558
Contributor
0 Kudos

Thanks all for your quick responses....

We do not need it anymore since the client confirmed that there will be no special characters in actual data that needs to be handled.

Thanks and Regards,

Himadri

former_member181959
Contributor
0 Kudos

Hi,

Try using,

i tried the same in one my projects,

File Type: [Text]

File Encoding : [CP1251]

hope it helps.

-Prasad

stefan_grube
Active Contributor
0 Kudos

I think CP1251 contains Cyrillic alphabet.

http://en.wikipedia.org/wiki/Windows-1251

For ß you need western Europe: CP1252 or more common: ISO 8859-1

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

Regards

Stefan

former_member181959
Contributor
0 Kudos

Hi Stefan ,

Thanks for your information.

-Prasad.

stefan_grube
Active Contributor
0 Kudos

The question is: What encoding do you want?

The file is in UTF-8, when you view it, your editor should be able to interpret UTF-8. You can view the file with a web browser and set the encoding to UTF-8.

When you want another encoding, for example ISO-8859-1, put this in the file receiver channel.

For more details check this guide:

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/502991a2-45d9...

Regards

Stefan