Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Encoding problem #3

Closed
HotIceCream opened this issue Oct 22, 2014 · 1 comment
Closed

Encoding problem #3

HotIceCream opened this issue Oct 22, 2014 · 1 comment
Labels

Comments

@HotIceCream
Copy link

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).

@Pkmmte Pkmmte assigned Pkmmte and unassigned Pkmmte Oct 22, 2014
@Pkmmte
Copy link
Owner

Pkmmte commented Oct 22, 2014

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.

@Pkmmte Pkmmte added the wontfix label Oct 22, 2014
@Pkmmte Pkmmte closed this as completed Oct 24, 2014
Pkmmte pushed a commit that referenced this issue Nov 28, 2016
[ADDED] Travis CI support for PkRSS project.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants