Skip to Content

SAP PI Unicode for Single stack

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • Dec 28, 2017 at 01:10 PM

    I guess UTF-16 will pass all.

    Thanks,

    Apu

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 28, 2017 at 10:05 AM

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

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 11 at 10:31 AM

    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.

    Add comment
    10|10000 characters needed 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

  • Jan 11 at 10:08 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 11 at 04:58 PM

    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

    Add comment
    10|10000 characters needed characters exceeded