tmilovanov / wisecreator

Utility for adding word wise information to non amazon books
322 stars 53 forks source link

UnicodeDecodeError: 'cp950' codec #32

Closed b10632034 closed 3 years ago

b10632034 commented 4 years ago

Hi, i have encountered some problems when running 'wisecreator.exe' on window 10. Any thought?

[.] Checking dependenices
[.] Converting mobi 2 mobi to generate ASIN
[.] Getting ASIN
[.] Getting rawml content of the book
[.] Collecting words
[.] Count of words: 45754
Traceback (most recent call last):
  File "main.py", line 395, in <module>
  File "main.py", line 359, in main
UnicodeDecodeError: 'cp950' codec can't decode byte 0xe2 in position 6708: illegal multibyte sequence
[8108] Failed to execute script main
tmilovanov commented 4 years ago

Hi, @b10632034! It happens sometimes with books having encoding different from utf-8. Can you send me the book so that I can debug this? You can send it to the email timcess@gmail.com

b10632034 commented 4 years ago

Okay

tmilovanov commented 3 years ago

Fixed in v1.1