fix: pin charset-normalizer to <3 to fix Big5 encoding detection (#1628) by parinporecha · Pull Request #1824 · httpie/cli · GitHub
Skip to content

fix: pin charset-normalizer to <3 to fix Big5 encoding detection (#1628)#1824

Open
parinporecha wants to merge 1 commit intohttpie:masterfrom
parinporecha:fix/issue-1628
Open

fix: pin charset-normalizer to <3 to fix Big5 encoding detection (#1628)#1824
parinporecha wants to merge 1 commit intohttpie:masterfrom
parinporecha:fix/issue-1628

Conversation

@parinporecha
Copy link
Copy Markdown

charset-normalizer 3.x changed its detection algorithm, causing Big5-encoded Chinese text to be misdetected as johab (Korean). This breaks the test_terminal_output_response_charset_detection and test_terminal_output_request_charset_detection tests for Big5.

Pin to charset-normalizer>=2.0.0,<3.0.0 until the upstream ranking regression is resolved.

Fixes #1628

…pie#1628)

charset-normalizer 3.x changed its detection algorithm, causing Big5-encoded
Chinese text to be misdetected as johab (Korean). This breaks the
test_terminal_output_response_charset_detection and
test_terminal_output_request_charset_detection tests for Big5.

Pin to charset-normalizer>=2.0.0,<3.0.0 until the upstream ranking
regression is resolved.

Fixes httpie#1628
@codecov-commenter
Copy link
Copy Markdown

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.

Test failures with the latest charset-normalizer

2 participants