cancel
Showing results for 
Search instead for 
Did you mean: 

File Encoding for ã and ä

santosh_k3
Active Participant
0 Kudos

Hi All,

I have a scenario where i will get multiple files from Diff locations for this interface.

i process these files through one Comm channel and i am not using any Mapping for this interface.

My problem is in one file i will get the special character as " ã " and in other file i get it as " ä ".

So ,when i process these files using File Encoding : UTF-8

“ã” is displaying correctly

But “ ä “ is displaying as ��

and when i use File Encoding : ISO-8859-1

“ ä “ this is displaying correctly.

But “ ã “ is displaying as “ã “

Can anybody help me on this.

Thanks,

Sai

Accepted Solutions (1)

Accepted Solutions (1)

anupam_ghosh2
Active Contributor
0 Kudos

Hi Sai,

               Did you try with Windows-1252.

Regards

Anupam

santosh_k3
Active Participant
0 Kudos

Hi All,

Thanks for the Reply,

Anupam:

I have tried with FileEncoding : Windows-1252 and also with CP-1252

it did not help me.

Vila:

I have checked 3.1 point

There is no option for selecting Additional Files for File Encoding.

I am using PI 7.3

Any more help please

Thanks,

Sai

naveen_chichili
Active Contributor
0 Kudos

Hi Sai,

Try File Encoding with UTF-16 . Also refer to below link.

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/502991a2-45d9-2910-d99f-8aba5d79f... .

Regards,

Naveen.

santosh_k3
Active Participant
0 Kudos

Hi Naveen,

If i try UTF-16 , it is converting into Chinese format.

Thanks

Sai

anupam_ghosh2
Active Contributor
0 Kudos

Hi Sai,

              I have checked both characters your are specifying is present in ISO-8859-1 . This should work in ISO-8859-1 encoding only.  What is the type of file you are receiving ? is it xml /binary ??

Are you able to view the file in browser or other editors?

The editor or browser might be showing the characters in some other way rather than the actual representation.

Regards

Anupam

santosh_k3
Active Participant
0 Kudos

Hi Anupam,

>>What is the type of file you are receiving ? is it xml /binary ??

    its .txt file

I am checking in sxmb_moni

So ,when i process these files using File Encoding : UTF-8

“ã” is displaying correctly

But “ ä “ is displaying as ��

and when i use File Encoding : ISO-8859-1

“ ä “ this is displaying correctly.

But “ ã “ is displaying as “ã “

if we check in IE and use the encoding ISO-8859-1

we were able to see both special characters “ ä “ “ ã “

Thanks

Sai

former_member223322
Active Participant
0 Kudos

Hi,

Try with the file type as 'Text' in the adapter 'Processing' tab. Don't give any encoding and then give a try.

~Srini

santosh_k3
Active Participant
0 Kudos

Hi Srinivasan,

We have tried this also,

This is working only for " ã “ and not for “ ä “.

Thanks,

Sai

anupam_ghosh2
Active Contributor
0 Kudos

Hi Sai,

                 Text files cannot contain these special characters. In your scenario does these character carry special meaning? or are they relevant ones? If the file is binary then it makes some sense.

In case its binary file then you need java mapping to convert the encoding.

Regards

Anupam

santosh_k3
Active Participant
0 Kudos

Hi All,

Thanks for your inputs.

It was file type issue.

one file we was receiving as ANSI type

where as the other with UTF-8 type

so we have converted the ANSI to UTF-8 and processed the File.

Thanks

Sai

Answers (1)

Answers (1)

iaki_vila
Active Contributor
0 Kudos

Hi Sai,

Check the point 3.1 in this document http://scn.sap.com/docs/DOC-16138

Regards.