summaryrefslogtreecommitdiff
path: root/tools/pbl_crc32.c
diff options
context:
space:
mode:
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>2017-05-29 15:31:22 -0600
committerSimon Glass <sjg@chromium.org>2017-06-08 20:21:59 -0600
commit21caa558ca1811a9995ed1c1b0e2c01cbdf25662 (patch)
tree7b551326df3ef8fe2844cfbc33f2af233adcdafa /tools/pbl_crc32.c
parentd5686a61d64a7c7424d6d4c93ac60cf5e324f3ad (diff)
patman: encode CC list to UTF-8
This change encodes the CC list to UTF-8 to avoid failures on maintainer-addresses that include non-ASCII characters (observed on Debian 7.11 with Python 2.7.3). Without this, I get the following failure: Traceback (most recent call last): File "tools/patman/patman", line 159, in <module> options.add_maintainers) File "[snip]/u-boot/tools/patman/series.py", line 234, in MakeCcFile print(commit.patch, ', '.join(set(list)), file=fd) UnicodeEncodeError: 'ascii' codec can't encode character u'\xfc' in position 81: ordinal not in range(128) from Heiko's email address: [..., u'"Heiko St\xfcbner" <heiko@sntech.de>', ...] While with this change added this encodes to: "=?UTF-8?q?Heiko=20St=C3=BCbner?= <heiko@sntech.de>" Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org> Tested-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Diffstat (limited to 'tools/pbl_crc32.c')
0 files changed, 0 insertions, 0 deletions