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

Update utils.py #1

Merged
merged 1 commit into from
Oct 5, 2018
Merged

Update utils.py #1

merged 1 commit into from
Oct 5, 2018

Conversation

gitzjm
Copy link
Owner

@gitzjm gitzjm commented Jun 23, 2018

修复BUG:遇到中文时latin-1无法编码抛出UnicodeEncodeError: 'latin-1' codec can't encode characters in position 8-9: ordinal not in range(256)异常
Chinese character can not use 'latin-1' encode

修复BUG:遇到中文时latin-1无法编码抛出UnicodeEncodeError: 'latin-1' codec can't encode characters in position 8-9: ordinal not in range(256)异常
Chinese character can not use 'latin-1' encode
@gitzjm
Copy link
Owner Author

gitzjm commented Oct 5, 2018

ERROR:PyPDF2.utils.PdfReadError: Illegal character in Name Object
pdf 中有中文字符导致 使用 latin-1 encode 时抛出 UnicodeEncodeError。

@gitzjm gitzjm merged commit 69866e1 into gitzjm-patch-1 Oct 5, 2018
@gitzjm gitzjm deleted the gitzjm-patch-2 branch October 5, 2018 04:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant