Allow selecting decode errors bahaviour
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-html2text (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Currently it stops convertion on any decode error:
$ html2markdown broken_text
Traceback (most recent call last):
File "/usr/bin/
load_
File "/usr/lib/
data = data.decode(
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x91 in position 4: invalid start byte
But for the files I'm working on it would be perfectly fine just to add
data = data.decode(
It can be exposed as an option.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: python3-html2text 3.200.3-2
ProcVersionSign
Uname: Linux 3.13.0-24-generic x86_64
ApportVersion: 2.14.1-0ubuntu3
Architecture: amd64
CurrentDesktop: KDE
Date: Sat May 10 21:02:23 2014
PackageArchitec
SourcePackage: python-html2text
UpgradeStatus: No upgrade log present (probably fresh install)
Status changed to 'Confirmed' because the bug affects multiple users.