Ask a Question

multipart/form-data charset for xml

SOLVED
mightymads
New Contributor

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.

2017-03-20 07_52_19-SoapUI 5.3.0.jpg

 

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:

2017-03-20 08_20_27-SoapUI 5.3.0.jpg

 

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.

1 ACCEPTED SOLUTION

Accepted Solutions
mightymads
New Contributor

Re: multipart/form-data charset for xml

Typical....

Shortly after posting this question I figured it out.

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

2017-03-20 09_27_09-SoapUI 5.3.0.jpg

View solution in original post

1 REPLY 1
mightymads
New Contributor

Re: multipart/form-data charset for xml

Typical....

Shortly after posting this question I figured it out.

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

2017-03-20 09_27_09-SoapUI 5.3.0.jpg

View solution in original post

cancel
Showing results for 
Search instead for 
Did you mean: