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

'ascii' codec can't encode character '\u2019' in position 217: ordinal not in range(128) #89

Open
phenetrik opened this issue Jan 1, 2023 · 1 comment

Comments

@phenetrik
Copy link

phenetrik commented Jan 1, 2023

Describe the bug
I can no longer import new highlights. I run kindle2notion and I receive the 'ascii' codec error message in the title. After this the rest of the script appears to work and it lists out each title and the number of highlights that have been added. However, when I check in Notion, none of the new highlights have been added.

To Reproduce
Steps to reproduce the behaviour:

  1. Run kindle2notion as normal: kindle2notion 'token' 'table_id' '/Volumes/Kindle/documents/My Clippings.txt'

Expected behaviour
New highlights added to existing database.

Screenshots
Notion page is found. Analyzing clippings file...
'ascii' codec can't encode character '\u2019' in position 217: ordinal not in range(128)
Found 681 notes and highlights.
......
Initiating transfer...
How to Win Friends and Influence People (Dale Carnegie)
✓ 69 notes/highlights added successfully.
......
Transfer complete... Exiting script...

Desktop (please complete the following information):

  • OS: macOS 13.1
  • Python 3.11.0 (running kindle2notion in venv)
@miyinan
Copy link

miyinan commented May 2, 2023

same problems as you

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

No branches or pull requests

2 participants