GNOME Bugzilla – Bug 760437
[PATCH] xpsto{jpeg,pdf,png,ps,svg} --help shows translated characters as question marks on some locales
Last modified: 2016-01-31 09:41:34 UTC
Please see the attached patch. xpsto* tools should call setlocale in main function in order to correctly show translated messages. Running 'xpstojpeg --help | head' with zh_TW.UTF-8 locale shows: ??? xpstojpeg [???] FILE [OUTPUT FILE] ????? -?, --help ??????? ??????? -d, --document=DOCUMENT the XPS document to convert -f, --first=PAGE first page to convert -l, --last=PAGE last page to convert
Created attachment 318705 [details] [review] tools: Call setlocale in main function of gxps-converter-main.c It is required to correctly show translated messages on some locales.
Comment on attachment 318705 [details] [review] tools: Call setlocale in main function of gxps-converter-main.c Pushed, thanks!