I am using Cool Reader on my Android reader Nook STR and I am facing one annoying issues when searching selected word in dictionary.
1. non-letter characters are not removed from the beginning of the selection, typically left double quotation mark.
2. some non-letter characters are not removed from the end of the selection, typically right double quotation mark.
This makes dictionary search uncomfortable because I have to manually remove those letters.
I am not a Java nor Android developer but I hope that attached patch fixes this issue.
I have used isLetter() function to identify "bad" characters and remove them from both sides of the string.