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.
↧
Answer by janih for MalformedByteSequenceException parsing RSS feed with ROME
↧