Skip to content

Support for accentued letters  #189

Description

@pprw

hocr-pdf does not seems to handle accents (éàù...) probably because of the encoding.

When the hocr source contains "formé"

<span class="ocrx_word" id="segment_66" title="bbox 456 735 591 810; x_confs 0.99999523 0.9999963 0.9947832 0.830801 0.9999902 0.9998524; poly 456 736 456 801 591 809 591 735">formé</span>

after launching hocr-pdf . > output.pdf and then pdftotext output.pdf -raw output.txt, the output.txt contains "formeÄ".

Is there a way to handle utf8 character and accent with hocr-tools?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions