You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When rss feed is encoded not in utf8 okhttp downloads stream correctly. Then it translate it to java string. Then parser read this string as input stream. And trying to encode this stream with encoding passed in tag:
But string already in utf16 encoding.
I remove using of okhttp library and pass to parser inputstream from HttpUrlConnection. This works fine.
All the more so okhttp crached on android l (square/okhttp#967).
The text was updated successfully, but these errors were encountered:
This is a known issue. Funny because this exact issue is what encouraged me to add custom Downloader support to the library.
You can simply replace the Downloader to the default Downloader and it'll work fine in those situations. As the issue you just linked to mentioned, this has been fixed in the latest Android L release so I don't see any reason to address this anymore.
When rss feed is encoded not in utf8 okhttp downloads stream correctly. Then it translate it to java string. Then parser read this string as input stream. And trying to encode this stream with encoding passed in tag:
But string already in utf16 encoding.
I remove using of okhttp library and pass to parser inputstream from HttpUrlConnection. This works fine.
All the more so okhttp crached on android l (square/okhttp#967).
The text was updated successfully, but these errors were encountered: