ptrstn / dailyblink

Downloads the Audio and Text of the Free Daily book from Blinkist.com
MIT License
43 stars 6 forks source link

Fix "UnicodeEncodeError: 'charmap' codec can't encode character" #24

Closed ptrstn closed 2 years ago

ptrstn commented 2 years ago

Closes https://github.com/ptrstn/dailyblink/issues/21

Windows requires explicit "utf-8" encoding for text with special characters.

codecov[bot] commented 2 years ago

Codecov Report

Merging #24 (1a423d3) into master (e15ffc0) will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #24   +/-   ##
=======================================
  Coverage   90.44%   90.44%           
=======================================
  Files           4        4           
  Lines         157      157           
=======================================
  Hits          142      142           
  Misses         15       15           
Impacted Files Coverage Δ
dailyblink/media.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update e15ffc0...1a423d3. Read the comment docs.