aboutcode-org / aboutcode-org/typecode
PDF file detected as non-binary
未關閉
- 主要語言
- Python
- 星號
- 10
- 分支
- 15
- PR 合併指標
- 30 天內沒有已合併 PR
描述
I am feeding a PDF file to `typecode.contenttype.is_binary`. As PDF files are usually considered as binary files, I would have expected the file to be detected as binary, but apparently the first bytes used for detection are looking like plain-text, leading to a wrong classification.
Example file: [antartica-3427135_640_1_libtiff.pdf](https://github.com/user-attachments/files/16411602/antartica-3427135_640_1_libtiff.pdf)
貢獻指南
這個儲存庫沒有索引到貢獻指南
評估
這個 Issue 還沒有評估資料。