microsoft / microsoft/markitdown

UnicodeEncodeError: 'charmap' codec can't encode characters in position 9-13: character maps to <undefined>

Open
#1,802 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
186k
Forks
13.7k
Avg merge
1d 4h
Merged PRs (30d)
49

Description

I tried to convert a docx file to md fil, but i got this error

UnicodeEncodeError: 'charmap' codec can't encode characters in position 9-13: character maps to

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file, test, or entry point is identified in the report. Start by reproducing the DOCX-to-Markdown conversion with the characters that trigger the UnicodeEncodeError; done means the conversion completes without the encoding failure and the affected characters are represented in the Markdown output.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
content
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.