Hello,
When using find/replace methods we have a problem with case sensitivity for Turkish 'İ' and 'I' letters. In Turkish alphabet lowercase of 'İ' is 'i' letter and lowercase of 'I' is 'ı' letter. When I trying to find 'İstanbul' in document without or wıth case sensitivity by 'istanbul' there is no result. Could you add locale support for find/replace functions?
example:
const dotted = 'istanbul';
console.log(`EN-US: ${dotted.toLocaleUpperCase('en-US')}`);
// expected output: "ISTANBUL"
console.log(`TR: ${dotted.toLocaleUpperCase('tr')}`);
// expected output: "İSTANBUL"
Best Regards
Hi AB,
Please check the below screenshot for reference:
Please try the search the same text and it will work properly.
You can cross check the same behaviour in MS Word also and Documenteditor working similar to MS Word.
Regards,
Suriya M.
Hi Suriya,
Could you try to search with 'istanbul' (all lowercase) again. It won't find the text.
Regar
Hi AB,
In MS Word, also if you search with 'istanbul' (all lowercase) again. It won't find the text.
Documenteditor considered the same.
Regards,
Suriya M.
That is actually a bug that Microsoft didn't fix yet for Turkish locale.
Hi AB,
We will check and update details shortly.
Regards,
Suriya M.
Hi AB,
Document editor will consider this case once microsoft fix this case. In meantime, as a workaround, you can use find and replace API to achieve your functionality.
In find, parameter send the localized text.
Please let us know if you need any further assistance.
Regards,
Suriya M.