Skip to Content
0

SAP PI Unicode for Single stack

Dec 27, 2017 at 10:44 AM

97

avatar image

Hi,

I have requirement to pass payload via PI (7.4 DUAL STACK) which may contain other languages like Chinese Japanee etc.

Whene payload enters PI its hows ??? for other languages, it only supports EN lang.

I changed ICO to Classical Interface; with this I can see all EN and JP Characters.

As per Menu --> STATUS --> UNICODE = Yes.

What setting I need to perform so that I will work with PI - ICO Interfaces as well.

Thanks,

Rashmi

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

5 Answers

avatar image
Former Member Dec 28, 2017 at 01:10 PM
0

I guess UTF-16 will pass all.

Thanks,

Apu

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Can you please help me in understanding UTF-16??

What kind of characters it can accept?

BR,

Rashmi

0
Anurag Gupta Dec 28, 2017 at 10:05 AM
0

Message type as Text and Character encoding as UTF-8 would help

Share
10 |10000 characters needed characters left characters exceeded
Evgeniy Kolmakov Jan 11 at 10:31 AM
0

Hi Rashmi!

First of all: you should crarify the meaning of the parameters you're trying to use.

Codepage Transform.ContentType text/plain; charset=UTF-8 - here you set the content type and original encoding of incoming message.

Convert Conversion.charset utf-8 - here you set desired encoding.

So, don't you think that converting utf-8 to utf-8 makes no sense?

You could refer to this blog:

https://blogs.sap.com/2014/10/09/character-encoding-handled-the-right-way/

in order to find out the way encoding should be handled.

Regards, Evgeniy.

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Hi Evgeniy Kolmakov,

Somehow this resolved issue but not all payloads are getting passed.

While development phase it resolved for all foreign languages. But from couple of few days its not taking foreign characters neither in DEV nor in QA box.

I am wondering what went wrong all of sudden... I dnt see anybody changed rest channel settings....

BR,

Rashmi

0
Rashmi Joshi Jan 11 at 10:08 AM
0

I added module in sender rest channel -

1. General Tab --> Character Set - Manual

Character Set Name - utf-8

2. Module Tab -

1. AF_Modules/MessageTransformBean Local Enterprise Bean Codepage

2. AF_Modules/TextCodepageConversionBean Local Enterprise Bean Convert

Codepage Transform.ContentType text/plain; charset=UTF-8

Convert Conversion.charset utf-8

Sometimes it works sometimes its giving ???? for foreign characters... What can be issue here?

BR,

Rashmi

Share
10 |10000 characters needed characters left characters exceeded
Rashmi Joshi Jan 11 at 04:58 PM
0

Hi All,

This is to update you, I have removed all setting from rest channel...

General Tab --> Character Set --> HTTP Content type header

Module Tab --> No settings...

I tried to push record from SOAPUI and again it changed foreign language into "????"

Same payload I pushed from POSTMAN and it was able to send foreign characters...

I couldnt find any difference between SOAPUI and POSTMAN... Any idea for such behaviour?

BR,

Rashmi

Share
10 |10000 characters needed characters left characters exceeded