I am using ng2-pdf-viewer library to display some pdfs. I was asked to include a search bar for these pdfs and I did by using this command available in PdfFindController from pdf.js
this.pdfFindController.executeCommand('find', {
caseSensitive: false,
findPrevious: false,
highlightAll: true,
phraseSearch: phraseSearch,
query: stringToSearch
});
However most of my pdfs are in french and so they use weird characters such as è û etc. So what I need is to know if there is an option in findcontroller parameters to set this find function to find all matching no matter if they have accents or stress. And if not what workaround do you advice me to do.
I also found this issue on pdfjs github page https://github.com/mozilla/pdf.js/issues/8101 about it but they don't give a straight answer.
Thank you guys for your help !