#1068·paper-qa

解析 PDF 时出错

作者: dmcgrath19创建于 2025年8月20日更新于 2026年7月11日
标签bug

Hi there, great code! However, I recently ran into an error when parsing some new PDFs (research papers). I think this might be a simple error handling for ignoring this by switching `data.encode("utf-8")` to `data.encode("utf-8", errors="replace")`, but wanted to make sure I wasn't missing anything else here. Thanks!

内容来源: Future-House/paper-qa