Chinese Character Issue in container gateway
search cancel

Chinese Character Issue in container gateway

book

Article ID: 205032

calendar_today

Updated On:

Products

CA API Gateway API SECURITY STARTER PACK-7 CA Microgateway

Issue/Introduction

Chinese characters in the container gateway when using Apply JSON Transformation. 

Container Gateway - version 9.4

Request: {"profileName": "你好"}

Response: <dummyRoot>   <profileName>??</profileName>  </dummyRoot>

Environment

Release : 9.4

Component : API GATEWAY for Dockers

Resolution

Add the following argument in the docker compose file under environment values.
EXTRA_JAVA_ARGS: "-Dfile.encoding=UTF-8"


Additional Information

This has been fixed the in the latest docker image gateway:9.4.00_20200702.