Skip to content

Ingestion error (and solution): UnicodeDecodeError: 'charmap' codec can't decode byte #25

Open
@DanielThaumazo

Description

@DanielThaumazo

I received this error on a Windows 11 setup while trying to ingest exported notion files.

If anyone else gets this, you can modify ingest.py:
with open(p) as f:
to
with codecs.open(p, encoding='utf-8') as f:

(or whichever encoding you need) to solve things.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions