Handle unicode chars in wordfreq