cancel
Showing results for 
Search instead for 
Did you mean: 

One Receiver channel - multiple code pages

former_member181962
Active Contributor
0 Kudos

Hi experts,

   I have an IDOC to FILE interface, where-in the source can send data that includes Western European characters as well as Chinese characters.

To handle the Wetern European characters, i have set the encoding to ISO-8859-1, but it obviously did not work for Chinese characters.

What should be the encoding to handle both cases?

Best Regards,
Ravikanth Talagana

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member184681
Active Contributor
0 Kudos

Hi Ravi,

Actually what you mentioned is what Unicode was developed for. Other encodings like ISO are rather "local" - they only handle some specific set of characters, normally typical to a country or region. In contrary, Unicode was invented to contain characters of different coutries, languages and regions. So, UTF-8 should be the answer for you. Read more here: http://en.wikipedia.org/wiki/UTF-8

Regards,

Greg

former_member181962
Active Contributor
0 Kudos

Hi Greg,

    As far as I know, i always thought that that would be the default encoding for the file receiver adapter.

But when i specify nothing, i am not able to see the european characters.

Let me try explicitly specifying UTF-8 and see if that works.

Best Regards,

Ravikanth Talagana

baskar_gopalakrishnan2
Active Contributor
0 Kudos

I think by default SAP PI uses UTF-8 unicode. File adapters also does the same. you might want to check this link

http://www.sdn.sap.com/irj/sdn/index?rid=/webcontent/uuid/70d8e250-e892-2b10-ab8a-d04433cf158b

former_member181962
Active Contributor
0 Kudos

I have tested using TEXT/ Encoding as UTF-8 and it does not show japanese characters.

Any suggestions?