cancel
Showing results for 
Search instead for 
Did you mean: 

How to convert ASCII Format to UTF-8 Format

Former Member
0 Kudos

Hi All,

I want to convert file from ASCII format to UTF-8 Format,

Incoming file will be in ASCII format and need to convert to UTF-8.

I have the clue to do it, please suggest me on this

I have the option in Sender File adapter to select the file Type as Binary and mention as US-ASCII

And also in the receiver File adapter, i can select file type as Binary and can mention as UTF-8

Will it work in my case??

Regards

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

closing the old thread and to open new one

Former Member
0 Kudos

HI,

You can use various character set in Communication channel such as US-ASCII, UTF-8 to convert in expected way.

Refer SAP help of receiver File channel.

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

Thanks

Swarup

Former Member
0 Kudos

Hi Vamsi,

Can you please check krishnas reply in this thread for the same issue:

Regards,

---Satish

Former Member
0 Kudos

Satish / Swarup,

I Reffered those threads and help files only before,

Based on that i gave the my stretegy to do that which i mentioned in my post.

Please suggest me in that way is it correct or not??

Regards

Former Member
0 Kudos

Hi,

I think you need to use the File type on receiver side as text for UTF-8 encoding.

Try using file type as text on sender and receiver side both.

Thanks

Swarup

Former Member
0 Kudos

Sorry Swarup, actually it shld be Text only its my mistake.

So i can select in Sender File adapter the file Type as Text and i can mention as US-ASCII

And also in the receiver File adapter, i can select file type as Binary and can mention as UTF-8

Am i right??

Regards

Former Member
0 Kudos

Hi Vamsi,

Try having text in both sender and receiver and in file encoding specify US-ASCII and UTF-8. This should work.

Regards,

---Satish

Former Member
0 Kudos

HI,

There should be text on receiver side as well.

Thanks

Swarup

Former Member
0 Kudos

Hi Satish / Swarup,

sorry for the wrong Q,

I want to convert ANSI format text file to UTF-8 Format Text file just between the folder with in my network itself.

How to do this with Simple File adapter in XI

Regards

Former Member
0 Kudos

Hi,

If u want to convert ASCII format to UTF-8 with the xi server folders then use the respective encoding formats in sender & receiver CC ;

Welcome,

Deva