hadynz / obsidian-kindle-plugin

Sync your Kindle notes and highlights directly into your Obsidian vault
MIT License
922 stars 52 forks source link

[BUG] Japanese is not displayed properly, 3 characters at the end are always missing #208

Open ft-fujii opened 1 year ago

ft-fujii commented 1 year ago

Describe the bug

Three characters in the end are missing for Japanese Kindle.

Method of syncing

To Reproduce

Steps to reproduce the behaviour:

  1. Go to 'Kindle Highlights'
  2. Sign in Amazon and start syncing the highlights
  3. See the note for Kindles written in Japanese.
  4. You can see that three characters in the end of highlights are missing.

Expected behavior

All the characters in the highlights are shown in the obsidian note.

Screenshots

In the obsidian note image

In the kindle image

Metadata

hadynz commented 1 year ago

@ft-fujii Can you confirm if the online Amazon Kindle website (https://read.amazon.co.jp/notebook) shows the last 3 characters that you are saying are missing.

My current hunch is that they are also cut-off there (because the plugin is simply scraping their website).

ryuzee commented 1 year ago

@hadynz I've also been encountering the issue above. But this is not coming from this plugin but from Kindle itself.

@ft-fujii When you highlight sentences via iPhone or Android, these problems happen (See https://nogunori.com/entry/2018/03/17/060000) It's not cool, but the solution is to highlight two to three extra characters.