Skip to content

UnicodeEncodeError with pdftext --out_path #37

@jordi-z80

Description

@jordi-z80

I'm getting the following error on some PDFs, only when using pdftext --out_path to write to a file on Windows:

UnicodeEncodeError: 'charmap' codec can't encode characters in position 656-657: character maps to

Probably a wrong encoding when opening the file to write, would be nice to have an option to create that file in utf-8 mode.

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