Trained model in Chinese, but when test using POST, the return message can't be displayed in Chinese

Could someone give me a hand here?

I have setup and trained my model in Chinese (zh) and from RASA shell, I was able to see the response returns properly in Chinese.

Yet, when I used CURL to interact with RASA server, while there is response, the Chinese character did not get displayed properly.

My command is as the following: curl -H “Accept-Language: zh-TW,zh” -H “Content-Type:application/json; charset=utf-8” “http://localhost:5005/webhooks/rest/webhook” -d ‘{“sender”:“default”,“message”:“hi”}’

Many thanks,

WK

I think this is because the response is utf-8 encoded, try decoding the response and printing it. Though I may be wrong.

Thanks, Saurabh. I will give it a try!