Replace 'gtk' encoding with encoding from settings