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

Detect potential duplicates #12

Open
MatthieuBizien opened this issue Apr 21, 2020 · 0 comments
Open

Detect potential duplicates #12

MatthieuBizien opened this issue Apr 21, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@MatthieuBizien
Copy link
Owner

Roam does not seems to have an advanced de-duplication algorithm for notes.

  1. A space at the end of a note title is not voluntary most of the time
  2. Unicode is not normalized

Eg. for 1.: [[Charlène]] and [[Charlène]]. Looks identical, but if we print the bytes, they are different, b'Charle\xcc\x80ne' versus b'Charl\xc3\xa8ne'. If I use unicodedata.normalize on both, they become identical.

We could detect them and save the list of errors in a dedicated files.

@MatthieuBizien MatthieuBizien added the enhancement New feature or request label Apr 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant