Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

翻译文档会遇到编码问题 #326

Open
FLASElxx opened this issue Dec 23, 2024 · 1 comment
Open

翻译文档会遇到编码问题 #326

FLASElxx opened this issue Dec 23, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@FLASElxx
Copy link

问题描述

翻译文档的时候,有的文档具有非u8的编码,就会报错。
希望程序可以自动跳过错误的地方,而不是报错停止程序。
test.pdf
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xbb in position 7: invalid start byte
本项目不处理网络环境引发的问题(例如 empty translation result/connection reset/check_hostname requires server_hostname/certificate verify failed/unable to connect to proxy/LocalEntryNotFoundError)

UnicodeDecodeError: 'utf-8' codec can't decode byte 0xbb in position 7: invalid start byte

测试文档

Important

请提供用于复现测试的 PDF 文档

@charles7668
Copy link
Contributor

這個問題應該已在 d2d36bd 處理了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants