scrapy / w3lib

Python library of web-related functions
BSD 3-Clause "New" or "Revised" License
390 stars 104 forks source link

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

Closed BurnzZ closed 1 year ago

BurnzZ commented 2 years ago

Resolves https://github.com/scrapy/w3lib/issues/189

codecov[bot] commented 2 years ago

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%) :arrow_down:
w3lib/__init__.py