Manually set the encoding value after get the text value will not working #2041
Unanswered
821938089
asked this question in
Potential Issue
Replies: 1 comment 2 replies
-
This is the behaviour I would expect to see. I suppose we could do slightly better here if we raised an exception if a user attempts to set the encoding, after having already accessed |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Since charset_normalizer has the possibility to give wrong encoding (like this), I wrote some code to check the encoding manually, but I found that this doesn't work.
After my research, I found that as long as I get the text value and then set the encoding, then the text value will not change.
I think this is a bug.
Beta Was this translation helpful? Give feedback.
All reactions