GNOME Bugzilla – Bug 703247
Ensure strings from xkeyboard-config are UTF-8
Last modified: 2013-06-28 14:44:27 UTC
When using g_dgettext, translated strings are returned in the current locale's encoding. This means XKEYBOARD_CONFIG() can give us a non-UTF-8 string if a non-UTF-8 locale is in use. Calling bind_textdomain_codeset() ensures that the strings returned by g_dgettext will be encoded in UTF-8, which is what applications using gnome-desktop expect.
Created attachment 247984 [details] [review] Ensure strings from xkeyboard-config are UTF-8
Review of attachment 247984 [details] [review]: If this fixes the issue, looks fine. Thanks
Review of attachment 247984 [details] [review]: Yes I've tested this fixes the issue. Thanks for the quick review!