Encoding Turkish char on Http Post method with Java

598 Views Asked by At

I have a problem Turkish Character encoding I send a xml document with web services on http post methods but When I encoding Turkish Character(Ğ,Ş ı...) asci code java translate &#230 etc.

this time url conneciton is cut data's other partial because & is mean new attribute so how to solve this problem what can I do before send on java???

1

There are 1 best solutions below

0
On

It seems you are sending the XML as part of the URL? In that case you'll need to percent-encode it (see RFC 3986)