Make able conversions to dictionary's encoding in Hunspell.
Fix memory leaks.