diff --git a/DeDRM_plugin/topazextract.py b/DeDRM_plugin/topazextract.py index d7e608e..66f09fd 100644 --- a/DeDRM_plugin/topazextract.py +++ b/DeDRM_plugin/topazextract.py @@ -350,7 +350,7 @@ class TopazBook: # use 8 digit pids here pid = pid[0:8] if isinstance(pid, str): - pid = pid.encode('utf-8') + pid = pid.encode('latin-1') print("Trying: {0}".format(pid)) bookKeys = [] data = keydata