Forum Discussion

aaronpliu's avatar
aaronpliu
Frequent Contributor
6 years ago

Invalid xml as special character in request body

Hi Community,   I encountered a special character issue with my REST POST payload (request body). As request, the payload include other characters, like Simplified (测试) / Traditional(測試) Chinese....
  • nmrao's avatar
    6 years ago
    In the ReadyAPI, what does it show when you click "Help -> System Properties" and "file.encoding"?

    Set it "UTF-8"
  • aaronpliu's avatar
    aaronpliu
    6 years ago

    it's working after added -Dfile.encoding=UTF-8 in readyapi.vmoptions file. the chanage would be seen from Help -> System properties.

    Thanks nmraorichie