asmabel
16 years agoNew Contributor
How to set encoding UTF-8 in request post ?
Hello everybody,
I have problem with send parameter in UTF-8 encoding. When I use browser every thing is correct. When I use SOPA UI, servlet is not able recognize characters in UTF-8.
The only thing what I do in HTTP Test Request is setting encoding property to UTF-8.
Maybe I should do something more.
My POST request in SOAP UI looks like:
POST http://localhost:8080/WebTest/Test?text ... 4%85%C4%85 HTTP/1.1
Accept-Encoding: gzip,deflate
Content-Type: text/xml
User-Agent: Jakarta Commons-HttpClient/3.1
Host: localhost:8080
Content-Length: 0
Do you have any idea ?
Thanks for help
I have problem with send parameter in UTF-8 encoding. When I use browser every thing is correct. When I use SOPA UI, servlet is not able recognize characters in UTF-8.
The only thing what I do in HTTP Test Request is setting encoding property to UTF-8.
Maybe I should do something more.
My POST request in SOAP UI looks like:
POST http://localhost:8080/WebTest/Test?text ... 4%85%C4%85 HTTP/1.1
Accept-Encoding: gzip,deflate
Content-Type: text/xml
User-Agent: Jakarta Commons-HttpClient/3.1
Host: localhost:8080
Content-Length: 0
Do you have any idea ?
Thanks for help