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
use Locale.ROOT in normalizeTextToLowercase() for consistent case folding
The search index and matching must be independent of the user's UI language.
Using BaseSettings.REVANCED_LANGUAGE.get().getLocale() can break case-insensitive
matching in certain locales (e.g., Turkish 'tr_TR' where 'İ'.toLowerCase() → 'i'
without dot, while 'i'.toUpperCase() → 'İ' — causing mismatches).
Locale.ROOT provides standardized, locale-neutral case conversion:
- 'İ' → 'i' (correct)
- 'ß' → 'ss'
- Consistent behavior across all languages
This ensures reliable search for Korean, Arabic, Vietnamese, and Latin scripts
regardless of the selected ReVanced language.
Fixes incorrect search behavior when UI language is Turkish, German, etc.
0 commit comments