diff options
author | Jiajie Hu <jiajie.hu@intel.com> | 2016-11-11 14:02:18 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-11-23 11:10:15 +0000 |
commit | bfd8c35c3f917e3806c8dfe36c98c70fbccbb3c9 (patch) | |
tree | 9cde5f577c39bcd4be1b9e216811cbb1b2691df2 /meta/recipes-graphics | |
parent | 8c84830fa14a6e18daba37d18b41671f42d4f4fb (diff) | |
download | poky-bfd8c35c3f917e3806c8dfe36c98c70fbccbb3c9.tar.gz |
devtool: fix handling of unicode characters from subprocess stdout
In previous implementation, a UnicodeDecodeError exception will be
raised if multi-byte encoded characters are printed by the subprocess.
As an example, the following command will fail in an en_US.UTF-8
environment because wget quotes its saving destination with '‘'(0xE2
0x80 0x98), while just the first byte is provided for decoding:
devtool add recipe http://example.com/source.tar.xz
The patch fixes the issue by avoiding such kind of incomplete decoding.
(From OE-Core rev: 1875ea92546d23abcab1b40b562477a0016f712d)
Signed-off-by: Jiajie Hu <jiajie.hu@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics')
0 files changed, 0 insertions, 0 deletions