[PATCH evemu 1/4] py: Add ENCODING="iso8859-1" to const.py

Benjamin Tissoires benjamin.tissoires at gmail.com
Fri Jan 10 16:22:15 PST 2014


On Fri, Jan 10, 2014 at 3:30 AM, Daniel Martin <consume.noise at gmail.com> wrote:
> The ENCODING is used to decode bytes to str objects
>
> Signed-off-by: Daniel Martin <consume.noise at gmail.com>
> ---
> ENCODING is already in use, but became missing due to dropping the
> _callstr patch.

Hmm, seems like ENCODING is not in the master tree currently. I'll
squash this one with the next if the reviews of Peter are OK.

>
>  python/evemu/const.py | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/python/evemu/const.py b/python/evemu/const.py
> index 794ede7..35f1878 100644
> --- a/python/evemu/const.py
> +++ b/python/evemu/const.py
> @@ -1,4 +1,5 @@
>  LIB = "libevemu.so"
> +ENCODING="iso8859-1"

This makes me ring a bell. Why not "utf-8"? Maybe we should add utf-8
to all other files, but still, I'd like to be convinced by this move.

Cheers,
Benjamin

>  UINPUT_NODE = "/dev/uinput"
>
>  # The following should be examined every release of evemu
> --
> 1.8.5.2
>
> _______________________________________________
> Input-tools mailing list
> Input-tools at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/input-tools


More information about the Input-tools mailing list