Hello, I'm using httputils to post data from Android to an Asp.net web service.
It's working normally, but when I have special characters in my string, on when the web service receive the data, special characters were modified to ????.
Exemple:
In this code, when I post this string (ContentSend), the server receive the word "Localização" as "Localiza????o".
What can I do to fix this problem?
It's working normally, but when I have special characters in my string, on when the web service receive the data, special characters were modified to ????.
Exemple:
B4X:
ContentSend = ContentSend.Replace("$LAT$",Lat)
ContentSend= ContentSend.Replace("$LON$",Lon)
ContentSend= ContentSend.Replace("$CONTENT$","Localização")
JobAtual.PostString(WS_Address,ContentSend)
JobAtual.GetRequest.SetContentType("text/xml")
JobAtual.GetRequest.SetContentEncoding("application/soap+xml; charset=utf-8")
In this code, when I post this string (ContentSend), the server receive the word "Localização" as "Localiza????o".
What can I do to fix this problem?