UTF8 Encoding in Android when invoking REST webservice
I'm invoking a rest WS that returns XML. Some elements have strings include special characters like áãç etc... When I get the information via browser all of it is shown properly but when invoking it from Android I don't get the proper special characters. Notice the 'decoded' and 'encoded' variables: when I use URLDecoder.decode(result, "UTF-8") The result stays the same when I use URLEncoder.encode(result, "UTF-8") The result changes to what it would be expected (full of %'s symbols and numeric representing symbols and special characters). Here's the method to call the webservice: public void