py-pdf/pypdf

can not decode afii characters (ISO 10036)

开放

#1,381 创建于 2022年10月5日

 (1 条评论) (0 个反应) (0 位负责人)Python (1,258 个派生)batch import
help wantedworkflow-arabic-text-extraction

仓库指标

星标
 (6,413 个星标)
PR 合并指标
 (平均合并 8天) (30 天内合并 49 个 PR)

描述

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

贡献者指南