Answer by isnot2bad for I get Invalid byte when I try parse xml
The response entity is gzip encoded (so it's compressed)! You can wrap the input stream into a GZIPInputStream:InputStream inputStream = new GZIPInputStream(new URL(url).openStream());You should use...
View ArticleI get Invalid byte when I try parse xml
I try to read/parse rss feed from NASA image of the day.Here is code below. I get the exception which tell me this:com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid...
View Article
More Pages to Explore .....