GNOME Bugzilla – Bug 760423
[PATCH] gio-querymodules prints error messages as question marks on some locales
Last modified: 2016-07-14 03:27:04 UTC
Please see the attached patch. gio-querymodules should call setlocale in main function in order to correctly show translated messages.
Running 'gio-querymodules /nonexistent' with zh_TW.UTF-8 locale shows:
Unable to open directory /nonexistent: ?????/nonexistent???????No such file or directory
Created attachment 318691 [details] [review]
gio-querymodules: Call setlocale in main function
It is required to correctly show translated messages on some locales.
Does someone have time to review this trivial patch? It has missed a release and stayed in bugzilla for 6 months.
Review of attachment 318691 [details] [review]:
Sure, looks fine. Sorry for the delay
Attachment 318691 [details] pushed as cef7993 - gio-querymodules: Call setlocale in main function