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
{{ message }}
This repository has been archived by the owner on Nov 15, 2022. It is now read-only.
Sites encoded with windows-1251 are not rendered correctly.
Expected Behavior
Site should look just like it does without proxy.
Current Behavior
Non-ascii characters are replaced with mess (пїЅпїЅпїЅ).
Possible Solution
Instead of taking response.text(), you should decode it considering charset from headers and also update headers accordingly.
Steps to Reproduce
open rutracker.org
Context (Environment)
Detailed Description
Possible Implementation
I made a simple fix which works for rutracker, but you probably have to implement a better solution to work everywhere
(zuev-stepan/Ultraviolet-Static@551b538)
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Sites encoded with windows-1251 are not rendered correctly.
Expected Behavior
Site should look just like it does without proxy.
Current Behavior
Non-ascii characters are replaced with mess (пїЅпїЅпїЅ).
Possible Solution
Instead of taking response.text(), you should decode it considering charset from headers and also update headers accordingly.
Steps to Reproduce
open rutracker.org
Context (Environment)
Detailed Description
Possible Implementation
I made a simple fix which works for rutracker, but you probably have to implement a better solution to work everywhere
(zuev-stepan/Ultraviolet-Static@551b538)
The text was updated successfully, but these errors were encountered: