Fix hunspell user dictionary word encoding on check.