Encapsulate speller in a class to provide unicode <--> utf-8 conversion here rather than in caller code.