Bug#870310: glib-mkenums: UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 108: ordinal not in range(128)
Simon McVittie
smcv at debian.org
Tue Aug 1 07:28:15 UTC 2017
Control: forwarded -1 https://bugzilla.gnome.org/show_bug.cgi?id=785113
On Tue, 01 Aug 2017 at 00:47:43 +0200, Michael Biebl wrote:
> Am 01.08.2017 um 00:34 schrieb Adrian Bunk:
> >>> File "/usr/lib/python3.5/encodings/ascii.py", line 26, in decode
> >>> return codecs.ascii_decode(input, self.errors)[0]
> >>> UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 108: ordinal not in range(128)
> > Works with LANG=C.UTF-8 and FTBFS with LANG=C
>
> Not sure what glib-mkenums is supposed to do about this then.
> It's the package/build environment not using a UTF-8 locale and Python 3
> being picky about that.
It can open files with a specified encoding, as in the commits in GLib
master that reference the upstream bug I've linked (I haven't verified
that they are a complete solution, so no +patch, but they seem good to
have).
Regards,
S
More information about the pkg-gnome-maintainers
mailing list