Created attachment 4734 Setup correct encoding before displaying cliarg error Set up locale before displaying the parse error received from the remote terminal. Current behavior: $ xfce4-terminal -x Flaggan "--execute/-x" kr?ver att du anger ett kommando att k?ra p? resten av kommandoraden (Option "--execute/-x" requires specifying the command to run on the rest of the command line) Notice the '?' characters inserted by GLib to accommodate the default C locale. The attached patch fixes this.
Using setlocale now since gtk function is deprecated.