Forum Discussion

iGanja's avatar
iGanja
New Contributor
7 years ago

JSON results from my REST service are all Chinese (looking) characters

I have a REST WebAPI service that returns json, but when viewing the results in SoapUI, all the characters look Chinese.   笀∀䄀挀挀漀甀渀琀匀栀愀爀攀猀∀㨀嬀笀∀䤀搀∀㨀∀  ∀Ⰰ∀匀栀愀爀攀䌀漀搀攀∀㨀 Ⰰ∀吀礀瀀攀∀㨀 Ⰰ∀䐀攀猀挀爀椀瀀琀椀漀渀∀㨀∀匀䄀嘀䤀一䜀匀...
  • iGanja's avatar
    7 years ago

    Apparently Content-Type application/json; charset=utf-16 is interpreted differently in SoapUI. (maybe correctly faik)

    Switching to Content-Type application/json; charset=utf-8 solved the problem.