[Bug 93661] [PATCH] mc-wait-for-name --help shows translated characters as question marks on some locales

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Jul 16 18:39:17 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=93661

--- Comment #6 from Ting-Wei Lan <lantw44 at gmail.com> ---
(In reply to George Kiagiadakis from comment #5)
> This patch looks like a hack... Why should the app force a specific locale?
> It's not so trivial imho, we should investigate it further.

This is not a hack. This is the most common way for applications to support
multiple languages. GTK+ automatically does the call for applications when
gtk_init() is called. Calling setlocale with an empty string means the
application doesn't force a specific locale but read values from environment
variables. If a C program doesn't call setlocale, its locale is "C" or "POSIX",
which is a minimal locale that has poor support for languages other than
English.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.


More information about the telepathy-bugs mailing list