Fix text encoding dialog

Same issue and fix as the Seahorse bug below:

https://bugzilla.gnome.org/show_bug.cgi?id=703825