Ensure that strings with diacritics are matched