Replace 'gtk' encoding with encoding from settings
Merge pull request #1 from DenisChinin/master

#2 Replace 'gtk' encoding with encoding from settings