[PATCH] Decode keyboard layout descriptions as UTF-8 (#1009278)
Samantha N. Bueno
sbueno+anaconda at redhat.com
Wed Sep 18 18:03:46 UTC 2013
Ack.
On Wed, Sep 18, 2013 at 11:09:52AM -0400, David Shea wrote:
> ---
> pyanaconda/keyboard.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/pyanaconda/keyboard.py b/pyanaconda/keyboard.py
> index c51a4d4..03d988a 100644
> --- a/pyanaconda/keyboard.py
> +++ b/pyanaconda/keyboard.py
> @@ -550,7 +550,7 @@ class XklWrapper(object):
> # layout-variant description
> xlated_lang = iso_(layout_info.lang)
> return "%s (%s)" % (iutil.upcase_first_letter(xlated_lang.decode("utf-8")),
> - Xkb_(layout_info.desc))
> + Xkb_(layout_info.desc).decode("utf-8"))
> else:
> return layout_info.desc
>
> --
> 1.8.3.1
>
> _______________________________________________
> anaconda-patches mailing list
> anaconda-patches at lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/anaconda-patches
More information about the anaconda-patches
mailing list