message: only latinize latinBased
diff: @@ -17,9 +17,9 @@ function escapeRegExp(s: string) {
  return s.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
  }
  -/** Remove diacritics from string */
  -function latinize(s: string) {
  - return s.normalize('NFD').replace(/\p{Diacritic}/gu, '');
  +/** Remove diacritics from latin-based string */
  +function latinize(s: string, language: string) {
  + return isLatinBased(language) ? s.normalize('NFD').replace(/\p{Diacritic}/gu, '') : s;
  }
  /** Make a Regexp that searches starting at a word boundary */
  @@ -29,8 +29,7 @@ export function startWordRegexp(s: string, language: string) {
  }
  /** returns input string toLower, and stripped of accents if it's a latin language */
  -const plainString = (s: string, language: string): string =>
  - (isLatinBased(language) ? latinize(s) : s).toLowerCase();
  +const plainString = (s: string, language: string): string => latinize(s, language).toLowerCase();
  const interestingPlugTypes = new Set([PlugCategoryHashes.Frames, PlugCategoryHashes.Intrinsics]);
  const getPerkNamesFromManifest = _.once((allItems: DestinyInventoryItemDefinition[]) => {
  