Layer7 API Management

Expand all | Collapse all

Non English Characters Support in Gateway policy

Jump to Best Answer
  • 1.  Non English Characters Support in Gateway policy

    Posted 01-03-2017 06:05 AM


    Is there any configurations in policy manager to accept Non English characters in API?
    like French, Chinese, Arabic?

     

    Regards
    Kareem



  • 2.  Re: Non English Characters Support in Gateway policy

    Posted 01-03-2017 06:08 AM

    We are call our API from SoapUI

    In Gateway Audit logs we are seeing some junk values as shown below.

     

    "first_name": "????",

     

    we have passed UTF-8 as shown below in header.

    Content-Type=application/json; charset=utf-8

     

    quick response is appreciated. 

     

    Regards

    Kareem



  • 3.  Re: Non English Characters Support in Gateway policy

    Posted 01-03-2017 06:40 PM

    Hello Kareem.shaik7 ,

    As soon as the non English characters are in utf-8 encoding, the audit logs should show it properly.

    I just double checked.

     

    Regards,

    Mark



  • 4.  Re: Non English Characters Support in Gateway policy
    Best Answer

    Posted 01-03-2017 11:08 PM

    Ok. I got the issue. We were invoking our APIs from soapUI and it is the tool which in sending a junk data. 

     

    To solve this issue we marked the Encoding to UTF-8 of Request Properties from Navigation Bar of soapUI. 

     

    Regards

    Kareem