renerocksai / sublime_zk

A SublimeText3 package featuring ID based wiki style links, and #tags, intended for zettelkasten method users. Loaded with tons of features like inline image display, sophisticated tag search, note transclusion features, support for note templates, bibliography support, support for multiple panes, etc. to make working in your Zettelkasten a joy :smile:.
Other
503 stars 58 forks source link

Some cyrillic tags are trimmed on 'all tags' view #117

Open arsgaevsky opened 3 years ago

arsgaevsky commented 3 years ago

It's quite strange but cyrillic tags with specific characters are trimmed on 'all tags' view.

  1. Add these tags to any of your notes: #абвгдеёжзийклмноп_р_стуфхцчшщъыьэюя #АБВГДЕЁЖЗИЙКЛМ_Н_ОПРСТУФХЦЧШЩЪЫЬЭЮЯ
  2. Save changes and go to 'all tags' view (#+!)
  3. Look at the list of tags. You will notice that these cyrillic tags are trimmed to: #абвгдеёжзийклмноп and #АБВГДЕЁЖЗИЙКЛМ It look like defect relates only to cyrillic 'р' and 'Н' characters. Everything is okay without them.
iamruss commented 3 years ago

I could reproduce it just with a tag that starts with letter (uppercase) "Д", e.g. this tag gets broken and the results pane shows just: #

the tag "#АБВГДЕЁЖЗИЙКЛМ_Н_ОПРСТУФХЦЧШЩЪЫЬЭЮЯ" is being cut down to "#АБВГ"

abunavas commented 3 years ago

Silver search (ag.exe) don't support Unicode. I solved this by using this: https://github.com/k-takata/the_silver_searcher-win32

arsgaevsky commented 3 years ago

Silver search (ag.exe) don't support Unicode. I solved this by using this: https://github.com/k-takata/the_silver_searcher-win32

Thanks for reply but my operating system is Ubuntu. I suppose that Silver Search should support Unicode.