fixed bug in OneLineLetterWords cuased by non-utf characters