logger gui: use Ruby's encoding feature instead of GLib's one