api response Chinese display garbled


#1

my api response chinese display garbled

  "refundTitle":"閫�娆剧媭鎱�",
  "refundMessage":"閫�鍥炶嚦淇$敤鍗�/鍊熻鍗★細",
  "refundStep":[
    {
      "refundCode":1,
      "refundStatus":"鐢宠珛宸叉彁浜�",
      "refundDate":"2018骞�11鏈�6鏃�15:59 (GMT+10)"
    }

Katalon.ini should speciify -Dfile.encoding=utf-8
Can't set the Content-Type
#2

“refundTitle”:“閫�娆剧媭鎱�”,
“refundMessage”:“閫�鍥炶嚦淇$敤鍗�/鍊熻鍗★細”,
“refundStep”:[
{
“refundCode”:1,
“refundStatus”:“鐢宠珛宸叉彁浜�”,


#3

hi @hitwhsxm,

Could you share us some endpoint to reproduce your request?


#4

I had the same problem,Chinese characters in response data cannot be displayed normally,for example,The “鐧诲綍鎴愬姛” is garbled, the correct display should be “登录成功”
{
“status”:1,
“code”:“10001”,
“data”:null,
“msg”:“鐧诲綍鎴愬姛”
}


#5

I think this issue is same as Can't set the Content-Type


#6

click

https://www.testclass.cn/katalon_studio_chinese_utf.html