Forum Discussion

mightymads's avatar
mightymads
New Contributor
7 years ago
Solved

multipart/form-data charset for xml

Hi,

 

How do I control the charset of the xml in my multipart request?

 

Currently it is sent using Cp1252.

 

But I want it to be sent as utf-8 so I tried adding it to the header of the request but that does not have the desired effect:

 

I also tried adding the encoding option to the soapui.bat file:

set JAVA_OPTS=%JAVA_OPTS% -Dfile.encoding="utf-8"

But none of it makes a difference, the xml is sent using charset Cp1252.

 

I'm using SoapUI 5.3.0.


Can anyone help me?

Cheers.

  • Typical....

    Shortly after posting this question I figured it out.

    It is possible to set the encoding on the general properties of the request.

1 Reply

  • mightymads's avatar
    mightymads
    New Contributor

    Typical....

    Shortly after posting this question I figured it out.

    It is possible to set the encoding on the general properties of the request.