py-pdf/pypdf

can not decode afii characters (ISO 10036)

オープン

#1,381 opened on 2022/10/05

 (1 件のコメント) (0 件のリアクション) (0 人の担当者)Python (1,258 件のフォーク)batch import
help wantedworkflow-arabic-text-extraction

Repository metrics

Stars
 (6,413 個のスター)
PR merge metrics
 (平均マージ 8d) (30d で 49 merged PRs)

説明

extracted from #1379 PS : in the extraction result, the arabic characters are replaced with /afiinnnn. this is because the data uses the iso 10036 standard that I've not been able to find any free information on how to do transcoding file 02voc.pdf test code:

import PyPDF2;
PyPDF2.PdfReader("e:/02voc.pdf").pages[2].extract_text()

Originally posted by @pubpub-zz in https://github.com/py-pdf/PyPDF2/issues/1379#issuecomment-1268897035

コントリビューターガイド