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

update html_to_unicode() so that the BOM is used first to check the e… #191

Merged
merged 2 commits into from
Oct 11, 2022

Conversation

BurnzZ
Copy link
Member

@BurnzZ BurnzZ commented Sep 23, 2022

Resolves #189

@codecov
Copy link

codecov bot commented Sep 23, 2022

Codecov Report

Merging #191 (b058f7d) into master (81b54a5) will decrease coverage by 0.07%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #191      +/-   ##
==========================================
- Coverage   96.04%   95.96%   -0.08%     
==========================================
  Files           7        6       -1     
  Lines         480      471       -9     
  Branches       93       90       -3     
==========================================
- Hits          461      452       -9     
  Misses          9        9              
  Partials       10       10              
Impacted Files Coverage Δ
w3lib/encoding.py 98.57% <100.00%> (-0.13%) ⬇️
w3lib/__init__.py

@Gallaecio Gallaecio merged commit bcf722f into scrapy:master Oct 11, 2022
@BurnzZ BurnzZ deleted the html_to_unicode-BOM branch October 12, 2022 05:35
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.

BOM should take precedence over Content-Type header when detecting the encoding
3 participants