cancel
Showing results for 
Search instead for 
Did you mean: 

Error: Invalid byte 2 of 3-byte UTF-8 sequence

Former Member
0 Kudos

Hi Experts,

We have a synchronous scenario from Websphere to PI, where once Websphere sends the request it is been executed by ABAP proxy and gives response with some special characters. But as the xml coding is in UTF-8 only, this is not throwing error in Response Mapping.

But when it reaches the end system, it is giving this "Invalid byte 2 of 3-byte UTF-8 sequence." " error saying that enocoding to UTF-8 is not done correctly. How can I overcome this situtation. please suggest.

Thanks,

Anudeep

Accepted Solutions (0)

Answers (3)

Answers (3)

stefan_grube
Active Contributor
0 Kudos

It seems to be a program error in your ABAP proxy.

Fix it.

Former Member
0 Kudos

Hi Stefan,

Can I know what type of error might be occured froim ABAP Proxy?

Thanks,

Kumar

Former Member
0 Kudos

Hi,

Check the encoding to be used for the data..or else check whether the RFC connections used are set to unicode...

if possible execute the request in SAP and check what is the output it is generating...if it is proper over there then you need to identify the encoding to be used when it comes to PI..

HTH

Rajesh

former_member472138
Active Contributor
0 Kudos

Why don't you format the Junk in response mapping itself and send.

Regards

Pothana