I am creating an application in Android Studio. This connects to a web and receives an xml that is in ISO-8859-1
. The application uses UTF-8
.
It is impossible for me to paint the tildes, ñ, etc.
I've used URLDecode.decode, xmlString.getBytes("ISO-8859-1"),"UTF-8")
, and I always miss those characters, always Denominaci?n, Espa?a, etc
.
My question is, even if it is in ISO-8859-1, does it receive the xml in that encoding, or does it transform it to UTF-8 ?, I do not know if it's explained to me.
Some idea of how to solve this. Thanks to everyone.