From the server comes the answer <?xml version="1.0" encoding="UTF-8"?> . I parse it, the result of the parsing output in the TextView . Russian letters are displayed like this:

alt text

2 answers 2

Try using the String(byte[] data, String charsetName) constructor String(byte[] data, String charsetName) , use the content of your XML file as data, and then you can parse.

  • I tried, I went through all the encodings, it did not work out! - katso

Then I found the answer:

The problem with the parsing of Russian letters in Android