matthewwithanm / matthewwithanm/python-markdownify
UnicodeDecodeError
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 2.2k
- Forks
- 203
- PR merge metrics
- No merged PRs in 30d
Description
I frequently get errors like UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf7 in position 14: invalid start byte.
BS4 has the option to ignore errors. Can we pass that option down from Markdownify?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file or test is named. Start by locating where Markdownify invokes BS4 and how input encoding errors are handled; then check the relevant parsing tests or add coverage for malformed UTF-8. Done means the requested BS4 error-handling option can be passed through and the reported input no longer raises this decode error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100