rangy
rangy copied to clipboard
How to handle Turkish character issues when using Text-Range-Module in Rangy library for word search in HTML documents?
Hi
I am using the Text-Range-Module in the Rangy library to search for a word in an HTML document. However, I am having trouble with Turkish characters, and it's not finding the word I'm looking for. An example word is 'Çincesinde.'
@timdown can you help me with this issue?
@emrecanmuslu you have to try to use https://developer.mozilla.org/en-US/docs/Web/API/CSS_Custom_Highlight_API along with https://developer.mozilla.org/en-US/docs/Web/API/Range and https://developer.mozilla.org/en-US/docs/Web/API/Highlight