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

Properly decode Unicode strings #11

Merged
merged 1 commit into from
Apr 4, 2016
Merged

Properly decode Unicode strings #11

merged 1 commit into from
Apr 4, 2016

Conversation

sbivol
Copy link
Contributor

@sbivol sbivol commented Apr 3, 2016

qBittorrent WebUI returns data encoded with UTF8, but fails to declare this in the response headers. This is why we must explicitly set an encoding on the request.
Without this patch, filenames containing µ are decoded as if they contained Âľ.

qBittorrent WebUI returns data encoded with UTF8, but fails to declare this in the response headers. This is why we must explicitly set an encoding on the request.
Without this patch, filenames containing `µ` are decoded as if they contained `Âľ`.
@v1k45 v1k45 merged commit 520754f into v1k45:master Apr 4, 2016
@v1k45
Copy link
Owner

v1k45 commented Apr 4, 2016

Thanks for the fix 👍 I'll update PyPI package soon :)

@sbivol sbivol deleted the patch-1 branch April 23, 2016 11:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants