Skip to main content

Searching words with swedish characters stopped working

Completed

Comments

10 comments

  • Fletcher Penney

    Can submit a support request with a sample file that does not work, along with exactly what you type in the search bar?

    I suspect this may be an issue with text that looks the same, but actually is composed of different characters "behind the scenes".  I need a good test to identify the issue and fix it.

     

    Thanks!

    0
  • Ulf Käck

    I have (hopefully) submitted a request! Thanks for the swift reply. Do you ever sleep? :-)

    0
  • Fletcher Penney

    Close all windows in nvUltra, then in the general preferences use the "Clear cache" button.  This will force all folders to be reindexed.  See if that fixes it.

     

    When I add your file to a folder and copy/paste your search terms from the support ticket, it works just fine.

    0
  • Ulf Käck

    Windows closed. Cache Cleared. (Althought there is no indication of success apart from the button being pressed. Where is the cache file located?) nvUltra restarted.

    Reindexing starting... and going on for five minutes now. Is this normal? This is the indexing process line showing, right? So far I can not search for anything.




    0
  • Fletcher Penney

    I think you have a file with invalid characters that is preventing the index from being updated.  The next update fixes this.

     

    This should only happen if a file gets corrupted, or if you give a text file extension to a file that contains binary (non-text) information.

     

    https://multimarkdown.zendesk.com/hc/en-us/community/posts/12937341808787-nvUltra-2022-12-23-14-53-hangs-on-indexing

    0
  • Fletcher Penney

    In the meantime, to get indexing to work you need to remove the troublesome file(s) from the folder in order to allow the other files to be indexed.

    0
  • Ulf Käck

    Cleaned up some debris from over the years, and now only .txt and .md files left, same problem. Is there another way to find the culprit apart from waiting for the next update? I guess I could do a grep or something, but since I don't know what character I'm looking for... :-)

    (It's OK, I've still got nvALT, so I'm not in any hurry.)

    0
  • Fletcher Penney

    You have to try taking out half the files and see if it succeeds. Recursively add or remove half of the half until you narrow it down.

    0
  • Ulf Käck

    Yes, of course, recursive search. Sorry, it's been maaany years since I did any programming. I had two culprits with what looked like 16-bit unicode in places where once had been [åäö], but neither MacVim or UltraEdit could read the characters correctly.

    Problem gone, search now working as expected. Thank you, Fletcher!

    0
  • Fletcher Penney

    When I first saw that approach to searching for problems (Conflict Catcher for classic Macs years ago), I thought it was absolute genius....  ;)

    Glad you found the issue, and glad it confirmed what I was thinking.  I thought that search was implemented correctly in the latest public build, but the indexing of invalid files has not been released publicly yet.  

    I'm trying to fix a more insidious issue with indexing and maintaining the filtered list of notes in the table for the next release so I can a few things released all at once, hopefully later this week. 

    0

Please sign in to leave a comment.

Powered by Zendesk