Quantcast
Channel: MalformedByteSequenceException parsing RSS feed with ROME - Stack Overflow
Viewing all articles
Browse latest Browse all 2

Answer by janih for MalformedByteSequenceException parsing RSS feed with ROME

$
0
0

Is your rss data UTF-8 encoded? Calling the no parameter version of String.getBytes() will use platform's default charset and it might not be UTF-8. That is why your test might work on Linux but fail on Windows. Try String.getBytes(Charset charset) instead.


Viewing all articles
Browse latest Browse all 2

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>