RE: Java is unable to compare ö (Swedish character) from pdfbox
I used pdfbox to get data from a pdf file.
I am comparing that data to the data of webpage using selenium webdriver.
I am able to get data from both. I used contains method to comparing both data.
Java is able to compare glädjande type of data but when Kommunstyrelsens ordförande used as in sentence its not able to match.
However ordförande as a single word can be matched. I also tried
but not able to match data using contains method.
PDFTextStripper pdfStripper =newPDFTextStripper("ISO8859_1");