diff --git a/src/source.cc b/src/source.cc index c634aa3..2992f0d 100644 --- a/src/source.cc +++ b/src/source.cc @@ -371,8 +371,10 @@ void Source::View::configure() { note_tag->property_foreground()=style->property_foreground(); } - if(Singleton::config->source.spellcheck_language.size()>0) + if(Singleton::config->source.spellcheck_language.size()>0) { aspell_config_replace(spellcheck_config, "lang", Singleton::config->source.spellcheck_language.c_str()); + aspell_config_replace(spellcheck_config, "encoding", "utf-8"); + } spellcheck_possible_err=new_aspell_speller(spellcheck_config); if(spellcheck_checker!=NULL) delete_aspell_speller(spellcheck_checker);