Skip to content

Commit

Permalink
fix 'utf-16-be' codec can't decode bytes in position 0-1: unexpected …
Browse files Browse the repository at this point in the history
…end of data

use surrogatepass  in _cmap and _page
  • Loading branch information
pubpub-zz committed Jun 13, 2022
1 parent de7ddc0 commit 2aea3e9
Show file tree
Hide file tree
Showing 7 changed files with 2,123 additions and 2,105 deletions.
2 changes: 1 addition & 1 deletion PyPDF2/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from ._merger import PdfFileMerger, PdfMerger
from ._page import Transformation, PageObject
from ._page import PageObject, Transformation
from ._reader import DocumentInformation, PdfFileReader, PdfReader
from ._version import __version__
from ._writer import PdfFileWriter, PdfWriter
Expand Down
Loading

0 comments on commit 2aea3e9

Please sign in to comment.