Skip to content

Wrong conversion of German characters äöüß #294

@ai-arie

Description

@ai-arie

I'm using the Python API to convert some German documents, and I narrowed down the problem in my conversion to MarkItDown.

md = MarkItDown()
result = md.convert(file_name)
markdown_text = result.text_content

Before the conversion the document in "file_name" contains: ...für künstliche Intelligenz und zur Änderung...

After the conversion markdown_text contains: ...fΟΦr kΟΦnstliche Intelligenz und zur Ο³nderung...

Any help with that?
Preferably, the solution should not change the output when converting English text, only German (potentially other languages? did not test...)

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions