djsudduth / keep-it-markdown

Convert Google Keep notes dynamically to markdown for Obsidian, Logseq, Joplin and Notion using the unofficial Keep API. Also, import simple markdown notes back into Google Keep.
Apache License 2.0
493 stars 32 forks source link

Error on note import: 'charmap' codec can't decode byte 0x81 in position 5455: character maps to <undefined> #64

Closed NumberOne925 closed 1 year ago

NumberOne925 commented 1 year ago

Hi,

i want to import md file with notes to google keep or anywhere I can open them. When I trying to do this i got this error: Error on note import: 'charmap' codec can't decode byte 0x81 in position 5455: character maps to You knows how to solve this? i exported my notes from xiaomi cloud using https://github.com/nogiszd/xiaomi-note-exporter

djsudduth commented 1 year ago

Yes! This has been fixed in the next version 0.5.1 in the develop branch. Choose that branch here and just download the single file kim.py to overwrite the current kim file in your version. @NumberOne925

https://github.com/djsudduth/keep-it-markdown/tree/develop

PS - please note this has been added as well - > "Added create and update dates of markdown files to imported notes" Not sure you want this feature - it is still being evaluated

djsudduth commented 1 year ago

@NumberOne925 - did you try the next version?

NumberOne925 commented 1 year ago

wow, it's working, thank you very much!! I have another question, it is possible to separate notes by separation mark? e.g. ****

djsudduth commented 1 year ago

Glad it's working!! I'm not sure what you mean by the separation of notes. Can you explain more?

NumberOne925 commented 1 year ago

I have several notes in one note, it looks like:

" " some text " " some text " " some text " " some text

djsudduth commented 1 year ago

It would be difficult to add since determining where to place the dividers would be hard to calculate. Your notes might be highly structured making it easier whereas others may not be.

Also, I try not to modify people's notes in case something goes wrong and notes are altered incorrectly.