You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Search works fine for me when using German. I suspect the issue is that the case-insensitive searching is built on top of the standard library tolower/towlower functions, which may well be limited to the ASCII subset of characters. If so, the search would work if you capitalised the Cyrillic letters exactly the same as they are in the file.
Fix would then be to use either ICU casefolding or the string collation functions.
We should also try to eliminate the wchar stuff as much as possible in favour of Unicode types like char16_t
Describe the bug
Universe::findPath
doesn't work with localized names even wheni18n
parameter istrue
.To Reproduce
Steps to reproduce the behavior:
sol/зямля
or any other full object name in your language.Expected behavior
Object searched should be found, e.g. Earth in the example above.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: