Forum Discussion

NPictureQA's avatar
NPictureQA
New Contributor
12 years ago

Default encoding on REST Requests

I noticed that some of my tests failed in 4.6 but not 4.5.2. Upon further investigation I discovered that the default encoding changed from iso-8859-1 (previous to 4.6) to UTF-8 (4.6).

If this is expected and not a bug then I would request perhaps a way to change the default encoding.


Thank You

1 Reply

  • Hi,

    I'm sorry to hear this is causing you problems. If possible, please let us know what kind of tests are now failing. We are serious about maintaining backwards compatibility, and want to prevent this kind of issue from appearing in the first place.

    In the properties field in the lower left corner of the SoapUI window, you can change the encoding for each individual request/test step, but I'm not sure if that will help. In order to change it for the entire application, you can edit the soapUI-4.6.0/bin/soapUI-4.6.0.vmoptions file and change -Dfile.encoding=UTF8 to whichever encoding you prefer.

    Regards,
    Arian
    SmartBear Sweden