11-30-2011 12:58 AM
I want to encode characters. Original word is "Niafunké" and while parsing i'm getting "Niafunké".
Please tell me solution to get original word.
11-30-2011 01:21 AM
12-03-2011 09:57 AM
12-03-2011 08:51 PM
Either pass the stream through to the parser, or read the bytes in and pass the byte array to the parser using ByteArrayInputStream. Don't try t o process it to text yourself. There is not need, the XML parser will convert it for you and it will use the correct encoding because it has been told what to expect.