! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
No locale used when showing cliarg user error messages
Status:
RESOLVED: FIXED
Product:
Xfce4-terminal
Component:
General

Comments

Description Ulrik 2012-11-15 17:45:43 CET
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.
Comment 1 Nick Schermer editbugs 2012-12-26 01:17:00 CET
Using setlocale now since gtk function is deprecated.

Bug #9500

Reported by:
Ulrik
Reported on: 2012-11-15
Last modified on: 2012-12-26

People

Assignee:
Nick Schermer
CC List:
0 users

Version

Attachments

Additional information