Search works selectively for non-Latin characters

Steps to reproduce

  1. Open Obsidian and create a note with non-Latin characters, e.g. Cyrillic or a colon. I’ll use the following
    тип источника:: статья
    source type:: article
    (the first one also means “source type:: article” in Russian)
  2. Try to search for this note with the first part of expression, i.e. тип источника or source type. Search works fine.
  3. Try to wrap the search line into quotes, i.e. "тип источника". No results returned.
  4. Try to wrap the Latin phrase into quotes, i.e. "source type". Search works fine.
  5. Try to put colon or two colons after the search phrase (using this to find attributes), i.e. тип источника:, or тип источника::, or source type: or source type::. No results returned.

Expected result

Search would work uniformly across languages and characters.

Actual result

Search doesn’t work well for non-Latin or special characters.

Environment

  • Operating system: Windows 10 Corporate 1909 18363.959
  • Obsidian version: 0.8.0

Additional information

Escaping special characters with \ doesn’t help.

We have some fixes to the search in 0.8.1 and 0.8.2. Let us know if you still have the problem after you get those.

Just got 0.8.1 installed, cannot test with 0.8.2 since have no clue where to get it.

Number 2, 3, 4 from original post works well.

There are issues with number 5 though: both source type:: тип источника:: return nothing. Issue appears to be connected to special characters.

have you tried escaping the : with \:

this works for me "a::b"

I will close this and open a new bug report specifically for special character

Doesn’t help no matter what script is used, sorry.